generated from tiddly-gittly/TW5-T-ONLINE
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
20 lines (20 loc) · 985 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"scripts": {
"zx-build": "zx ./scripts/build-wiki.mjs",
"server": "npx cross-env TIDDLYWIKI_PLUGIN_PATH='./plugins' TIDDLYWIKI_THEME_PATH='./themes' TIDDLYWIKI_LANGUAGE_PATH='./languages' npx tiddlywiki . --listen port=8080",
"buildonline": "node -e \"require('./scripts/build').buildOnlineHTML('public-dist', 'index.html');\"",
"buildoffline": "node -e \"require('./scripts/build').buildOfflineHTML('public-dist', 'offline.html');\"",
"buildlibrary": "node -e \"require('./scripts/build').buildLibrary('[prefix[$:/]!prefix[$:/plugins/tiddlywiki/]!prefix[$:/themes/tiddlywiki/]!prefix[$:/languages/]!tag[$:/tags/PluginLibrary]!prefix[$:/plugins/kookma]]', 'public-dist/library');\"",
"clean": "rimraf public-dist"
},
"devDependencies": {
"cross-env": "7.0.3",
"html-minifier-terser": "7.2.0",
"shx": "0.3.4",
"tiddlywiki": "^5.2.7",
"uglify-js": "3.17.4",
"workbox-cli": "7.0.0",
"zx": "^7.0.0",
"rimraf": "^5.0.1"
}
}