-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
20 lines (20 loc) · 984 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.3.4",
"uglify-js": "3.18.0",
"workbox-cli": "7.1.0",
"zx": "^8.1.3",
"rimraf": "^5.0.7"
}
}