-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
127 lines (114 loc) · 7.09 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "tiro-notes-source-code",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"================== SUPPORT =================== ": "",
"__INSTALL__": "",
"install-all": "run-p install-client install-server site/install",
"install-client": "npm run --prefix ./client install-all",
"install-server": "npm run --prefix ./server install-all",
"__REGENERATE ICONS FOR ELECTRON__": "",
"refresh-icons": "cd ./client/public; rm -r appicons; npx electron-icon-maker --input=favicon.png --output=./appicons; cd ./appicons; cp ./icons/mac/icon.icns tiro_icon.icns; cp ./icons/win/icon.ico tiro_icon.ico; cp ./icons/png/256x256.png tiro_icon.png;",
"================== DEV =================== ": "",
"__DEV__": "",
"kill": "npm run kill-server",
"kill-server": "kill -9 $(lsof -t -i:3023) & kill -9 $(lsof -t -i:8080) & kill -9 $(lsof -t -i:3000);",
"dev": "run-p kill-server; run-p client server plugins",
"client": "npm run --prefix ./client start",
"server": "npm run --prefix ./server start",
"plugins-serve": "npx http-server -p 8080 ./plugins -y",
"plugins": "npm run plugins-serve",
"gen-certs": "openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -subj '/CN=www.tiro-notes.org/subjectAltName=DNS.1=185.199.111.153/' -out tiro-notes.crt -keyout tiro-notes.key",
"================== TESTING =================== ": "",
"test/client": "npm run --prefix ./client test",
"test/dev": "run-p kill-server; run-p client testing-server custom-tags",
"testing-server": "npm run --prefix ./server testing-server",
"test/server-internal": "npm run --prefix ./server test",
"test/client-internal": "npm run --prefix ./client test",
"================== PLATFORMS RELATED =================== ": "",
"cli-test": "cd ./platforms/npm-cli-module; npm run dev;",
"cli": "npm run publish-cli",
"publish-cli": "cd ./platforms/npm-cli-module; npm run build-then-publish;",
"cli-dev": "npm run publish-cli-dev",
"publish-cli-dev": "cd ./platforms/npm-cli-module; npm run build-then-publish-dev;",
"__PUBLISH_ELECTRON__": "update version in platforms/electron/package.json > push to release branch > github ci > .github/workflows/node.js.yml",
"================== WEBSITE & MARKETPLACE & BLOG GENERATOR =================== ": "",
"site/dev": "run-p marketplace/build docs/dev blog/dev",
"site/install": "run-p marketplace-json/install docs/install blog/install",
"site/build": "run-s export-readme blog/build docs/build marketplace/build",
"site/update": "run-s site/pull site/build site/push",
"site/pull": "git checkout master; git pull origin master",
"site/push": "git add .; git commit -m 'updating blog+docs'; git push origin master",
"marketplace/build": "run-s marketplace-json/build marketplace-html/build",
"marketplace-html/build": "cp ./client/src/components/settingsView/generatePluginsMarketplaceHtml.js ./docs/_plugin_marketplace_html/_automaticgen_generatePluginsMarketplaceHtml.js",
"marketplace-json/dev": "npm run --prefix ./docs/_marketplace_generator dev",
"marketplace-json/build": "run-s marketplace-json/build-int marketplace-json/copy-json-to-plugins-folder",
"marketplace-json/build-int": "npm run --prefix ./docs/_marketplace_generator build",
"marketplace-json/copy-json-to-plugins-folder": "cp ./docs/marketplace.json ./plugins/marketplace.json",
"marketplace-json/install": "npm --prefix ./docs/_marketplace_generator install",
"docs/dev": "npx docsify-cli serve docs",
"docs/build": "npm run --prefix ./docs/_website_generator build",
"docs/install": "npm --prefix ./docs/_website_generator install",
"blog/build": "npm run --prefix ./docs/_eleventy_blog_system build",
"blog/dev": "npm run --prefix ./docs/_eleventy_blog_system start",
"blog/serve-int": "npx http-server ./docs/blog",
"blog/serve": "run-s blog/build blog/serve-int",
"blog/update": "run-s site/pull blog/build site/push",
"blog/install": "npm --prefix ./docs/_eleventy_blog_system install",
"================== NODE BUILD =================== ": "",
"build": "CI=false npm run build-then-export",
"build-then-export": "run-s create-build-folders build-client build-server site/build clean-prev-build export-the-build copy-build-to-electron-folder",
"build-export-to-binaries": "run-s build-export build-binaries",
"build-export-client": "run-s create-build-folders build-client clean-client export-client",
"build-export-server": "run-s create-build-folders build-server clean-server nxport-server",
"===____1_BUILD__": "",
"create-build-folders": "npx mkdirp ./build ./build/client ./build/server",
"build-client": "npm run --prefix ./client install-clean-build",
"build-server": "npm run --prefix ./server install-clean-build",
"===____2_CLEAN_PREV_BUILD__": "",
"clean-prev-build": "run-s clean-server clean-client clean-else",
"clean-server": "rm -r ./build/server &",
"clean-client": "rm -r ./build/client &",
"clean-else": "run-s clean-else-1 clean-else-2",
"clean-else-1": "rm -r ./build/scripts &",
"clean-else-2": "rm ./build/package.json &",
"===____3_EXPORT__": "",
"copy-build-to-electron-folder": "rm -r ./platforms/electron/node-build; cp -r ./build ./platforms/electron/node-build",
"export-the-build": "run-s export-client export-config export-server export-readme",
"export-client": "cp -r client/build ./build/client",
"export-misc": "cp -r misc ./build/client",
"export-config": "run-s export-config-1 export-config-2",
"export-config-1": "cp package-root-build.json ./build/package.json",
"export-config-2": "",
"export-scripts": "cp -r scripts ./build/scripts",
"export-server": "run-s export-server-1 export-server-2",
"export-server-1": "cp -r server/build ./build/server",
"export-server-2": "cp -r server/ssl ./build/server/ssl",
"export-readme": "run-s export-readme-1 export-readme-2",
"export-readme-1": "cp README.md docs/README.md",
"export-readme-2": "cp README.md ./build/",
"================== MISC =================== ": "",
"__TEST__": "",
"test1": "(node -e \"console.log('log1');\") && echo wooop",
"__HEROKU__": "",
"start": "node build/server/server.js",
"__OTHER__": "",
"convertNotes": "cd scripts & yarle --configFile enex2md.json"
},
"author": "thiebault.gregoire@gmail.com",
"license": "ISC",
"dependencies": {
"@babel/runtime": "^7.21.0",
"npm-run-all": "^4.1.5"
},
"repository": {
"type": "git",
"url": "https://github.com/dotgreg/tiro"
},
"homepage": "https://github.com/dotgreg/tiro",
"devDependencies": {
"typejuice": "^0.0.1"
}
}