mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-01 08:03:00 +00:00
add watch, wiki, edition, lazy, server, server-external-js, library and help commands
This commit is contained in:
34
package.json
34
package.json
@@ -30,12 +30,40 @@
|
|||||||
"bundleDependencies": [],
|
"bundleDependencies": [],
|
||||||
"license": "BSD",
|
"license": "BSD",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.8.2"
|
"node": ">=20.17.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "node ./tiddlywiki.js ./editions/tw5.com-server --listen",
|
"start": "node ./tiddlywiki.js ./editions/tw5.com-server --listen",
|
||||||
"test": "node ./tiddlywiki.js ./editions/test --verbose --version --build index",
|
"test": "node ./tiddlywiki.js ./editions/test --verbose --version --build index",
|
||||||
|
|
||||||
|
"watch:info": "echo \"npm run watch\" needs Node.js V20.x to work",
|
||||||
|
"watch": "node --watch-path=./core --watch-preserve-output ./tiddlywiki.js ./editions/tw5.com-server --listen",
|
||||||
|
|
||||||
|
"wiki:info": "echo \"use: npm run wiki --edition=<wiki> [empty, prerelease, dev, tour, tw.org, upgrade, full]\"",
|
||||||
|
"wiki": "node ./tiddlywiki.js +plugins/tiddlywiki/filesystem +plugins/tiddlywiki/tiddlyweb ./editions/%npm_config_edition% --listen",
|
||||||
|
|
||||||
|
"edition:info": "echo \"use: npm run edition --edition=tw5.com [de-AT, es-ES, fr-FR, ko-KR, xlsx-utils]\"",
|
||||||
|
"edition": "node ./tiddlywiki.js ./editions/%npm_config_edition%-server --listen",
|
||||||
|
|
||||||
|
"lazy:info": "echo \"use: npm run lazy --edition=tw5.com [de-AT, es-ES, fr-FR, ko-KR, xlsx-utils]\"",
|
||||||
|
"lazy": "node ./tiddlywiki.js ./editions/%npm_config_edition%-server --listen root-tiddler=$:/core/save/lazy-all",
|
||||||
|
|
||||||
|
"server": "node ./tiddlywiki.js ./editions/server --listen",
|
||||||
|
"server-external-js": "node ./tiddlywiki.js ./editions/server-external-js --listen",
|
||||||
|
|
||||||
|
"library:info": "echo \"use: npm run library\" && echo \"IMPORTANT: It starts on port:8888\"",
|
||||||
|
"library": "node ./tiddlywiki.js ./editions/pluginlibrary --build test-server",
|
||||||
|
|
||||||
|
"help": "node ./tiddlywiki.js --help",
|
||||||
|
|
||||||
|
"lint": "eslint .",
|
||||||
"lint:fix": "eslint . --fix",
|
"lint:fix": "eslint . --fix",
|
||||||
"lint": "eslint ."
|
|
||||||
|
"prewiki": "npm run wiki:info -s",
|
||||||
|
"postwiki:info" : "echo \"or: [translators, aws, classicparserdemo, codemirrordemo, d3demo, dynaviewdemo, geospatialdemo, highlightdemo, innerwikidemo, introduction, ja-JP, katexdemo, markdowndemo, prerelease, resumebuilder, share, tw5.com-docs, text-slicer, twitter-archivist, zh-Hans, zh-Hant\"",
|
||||||
|
|
||||||
|
"preedition": "npm run edition:info -s",
|
||||||
|
"pre:lazy": "npm run edition:lazy:info -s",
|
||||||
|
"prelibrary": "npm run library:info -s"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user