Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve package json new scripts #8695

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- master
- tiddlywiki-com
env:
NODE_VERSION: "18"
NODE_VERSION: "22"
jobs:
test:
runs-on: ubuntu-latest
Expand Down
93 changes: 54 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,56 @@
{
"name": "tiddlywiki",
"preferGlobal": "true",
"version": "5.3.6-prerelease",
"author": "Jeremy Ruston <[email protected]>",
"description": "a non-linear personal web notebook",
"contributors": [
{
"name": "Jeremy Ruston",
"email": "[email protected]"
}
],
"bin": {
"tiddlywiki": "./tiddlywiki.js"
},
"main": "./boot/boot.js",
"repository": {
"type": "git",
"url": "https://github.com/TiddlyWiki/TiddlyWiki5.git"
},
"keywords": [
"tiddlywiki",
"tiddlywiki5",
"wiki"
],
"devDependencies": {
"eslint": "^9.12.0",
"@eslint/js": "^9.12.0"
},
"bundleDependencies": [],
"license": "BSD",
"engines": {
"node": ">=0.8.2"
},
"scripts": {
"dev": "node ./tiddlywiki.js ./editions/tw5.com-server --listen",
"test": "node ./tiddlywiki.js ./editions/test --verbose --version --build index",
"lint:fix": "eslint . --fix",
"lint": "eslint ."
}
"name": "tiddlywiki",
"preferGlobal": "true",
"version": "5.3.6-prerelease",
"author": "Jeremy Ruston <[email protected]>",
"description": "a non-linear personal web notebook",
"contributors": [
{
"name": "Jeremy Ruston",
"email": "[email protected]"
}
],
"bin": {
"tiddlywiki": "./tiddlywiki.js"
},
"main": "./boot/boot.js",
"repository": {
"type": "git",
"url": "https://github.com/TiddlyWiki/TiddlyWiki5.git"
},
"keywords": [
"tiddlywiki",
"tiddlywiki5",
"wiki"
],
"devDependencies": {
"eslint": "^9.12.0",
"@eslint/js": "^9.12.0"
},
"bundleDependencies": [],
"license": "BSD",
"engines": {
"node": ">=22.10.0"
},
"scripts": {
"start": "node ./tiddlywiki.js ./editions/tw5.com-server --listen",
"test": "node ./tiddlywiki.js ./editions/test --verbose --version --build index",

"lazy": "node ./tiddlywiki.js ./editions/tw5.com-server --listen root-tiddler=$:/core/save/lazy-all",
"watch": "node --watch-path=./core --watch-preserve-output ./tiddlywiki.js ./editions/tw5.com-server --listen",

"dev": "node ./tiddlywiki.js +plugins/tiddlywiki/filesystem +plugins/tiddlywiki/tiddlyweb ./editions/dev --listen",

"library:info": "echo The Warning: \"Plugin(s) required for client-server operation are missing\" is INTENTIONAL, so no files will be saved back.",
"library": "node ./tiddlywiki.js ./editions/pluginlibrary --build test-server",

"build": "node ./tiddlywiki.js ./editions/tw5.com --build",

"help": "node ./tiddlywiki.js --help",

"lint": "eslint .",
"lint:fix": "eslint . --fix",

"prelibrary": "npm run library:info -s"
}
}
Loading