diff --git a/package.json b/package.json index a77a02a..a4d353b 100644 --- a/package.json +++ b/package.json @@ -7,12 +7,12 @@ "url": "git+https://github.com/cha0s/flecks.git" }, "scripts": { - "build": "node build/tasks npm run build", + "build": "node build/tasks npm run -- build", "dox:bump": "npm run dox:gh-pages && cd dox && git add . && git commit -m $(git -C .. rev-parse HEAD) && git push origin gh-pages", "dox:gh-pages": "flecks dox docusaurus && cd website && DOCUSAURUS_GENERATED_FILES_DIR_NAME=node_modules/.cache/docusaurus node_modules/.bin/docusaurus build --out-dir ../dox-tmp && cd .. && rm -rf dox/* && mv dox-tmp/* dox && rmdir dox-tmp", "dox:serve": "flecks dox docusaurus && cd website && DOCUSAURUS_GENERATED_FILES_DIR_NAME=node_modules/.cache/docusaurus node_modules/.bin/docusaurus build --no-minify --out-dir ../dox-tmp && node_modules/.bin/docusaurus serve --dir ../dox-tmp", "dox": "flecks dox docusaurus && cd website && DOCUSAURUS_GENERATED_FILES_DIR_NAME=node_modules/.cache/docusaurus node_modules/.bin/docusaurus", - "lint": "node build/tasks npm run lint", + "lint": "node build/tasks npm run -- lint", "publish": "node build/publish --provenance", "test": "node build/tasks npm run -- test", "verify": "act workflow_dispatch" diff --git a/packages/create-app/template/package.json.noconflict b/packages/create-app/template/package.json.noconflict index a3a2864..39c49fb 100644 --- a/packages/create-app/template/package.json.noconflict +++ b/packages/create-app/template/package.json.noconflict @@ -2,13 +2,13 @@ "private": true, "version": "1.0.0", "scripts": { - "build": "FLECKS_ENV__flecks_server__start=0 npm run build:only", + "build": "FLECKS_ENV__flecks_server__start=0 npm run -- build:only", "build:only": "flecks build", - "debug": "DEBUG=@flecks/* npm run dev", + "debug": "DEBUG=@flecks/* npm run -- dev", "dev": "npm run -- build:only -dh", "postinstall": "patch-package", "repl": "npx flecks repl --rlwrap", - "start": "DEBUG=@flecks/*,-*:silly npm run dev" + "start": "DEBUG=@flecks/*,-*:silly npm run -- dev" }, "dependencies": { "@flecks/server": "^4.0.0"