Skip to content

Commit

Permalink
fix(npm): run install:all as part of install
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Apr 20, 2023
1 parent 24f86dd commit b2c1140
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@
"dev": "npm run build:prepare && nf -j Procfile.dev start",
"eslint": "eslint .",
"filecheck": "ts-node filecheck/cli.ts",
"install:all": "find . -mindepth 2 -name 'package-lock.json' ! -wholename '**/node_modules/**' -print0 | xargs -n1 -0 sh -cx 'npm --prefix $(dirname $0) install'",
"jest": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
"m2h": "ts-node markdown/m2h/cli.ts",
"prepack": "npm run build:dist",
"prepare": "husky install",
"prepare": "husky install && npm run install:all",
"prettier-check": "prettier --check .",
"prettier-format": "prettier --write .",
"start": "(test -f client/build/index.html || npm run build:client) && (test -f ssr/dist/main.js || npm run build:ssr) && (test -d client/build/en-us/_spas || npm run tool spas) && nf -j Procfile.start start",
Expand Down

0 comments on commit b2c1140

Please sign in to comment.