chore: update npm run scripts (#41221)
This commit is contained in:
committed by
GitHub
parent
ae143bd378
commit
5090ea66c3
@ -5,12 +5,13 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"audit": "npm audit & lerna exec --no-bail 'echo $LERNA_PACKAGE_NAME & npm audit'",
|
"audit": "npm audit & lerna exec --no-bail 'echo $LERNA_PACKAGE_NAME & npm audit'",
|
||||||
"audit:fix": "npm audit fix & lerna exec 'echo $LERNA_PACKAGE_NAME & npm audit fix'",
|
"audit:fix": "npm audit fix & lerna exec 'echo $LERNA_PACKAGE_NAME & npm audit fix'",
|
||||||
"build": "npm-run-all ensure-env -p build:*",
|
"prebuild": "npm run ensure-env",
|
||||||
|
"build": "npm-run-all -p build:*",
|
||||||
"build:client": "cd ./client && npm run build",
|
"build:client": "cd ./client && npm run build",
|
||||||
"build:server": "cd ./api-server && npm run build",
|
"build:server": "cd ./api-server && npm run build",
|
||||||
"build:curriculum": "cd ./curriculum && npm run build",
|
"build:curriculum": "cd ./curriculum && npm run build",
|
||||||
"bootstrap": "lerna bootstrap --ci",
|
"bootstrap": "lerna bootstrap --ci",
|
||||||
"clean": "npm-run-all clean:client clean:server clean:packages",
|
"clean": "npm-run-all clean:client clean:server clean:packages clean:root-deps",
|
||||||
"clean-and-develop": "npm run clean && npm ci && npm run develop",
|
"clean-and-develop": "npm run clean && npm ci && npm run develop",
|
||||||
"clean:root-deps": "shx rm -rf node_modules",
|
"clean:root-deps": "shx rm -rf node_modules",
|
||||||
"clean:packages": "lerna clean -y",
|
"clean:packages": "lerna clean -y",
|
||||||
@ -26,7 +27,8 @@
|
|||||||
"cypress:dev:watch": "npm run cypress -- open",
|
"cypress:dev:watch": "npm run cypress -- open",
|
||||||
"cypress:prd:run": "npm run cypress -- run",
|
"cypress:prd:run": "npm run cypress -- run",
|
||||||
"cypress:prd:watch": "npm run cypress -- open",
|
"cypress:prd:watch": "npm run cypress -- open",
|
||||||
"develop": "npm-run-all ensure-env build:curriculum -p develop:*",
|
"predevelop": "npm run ensure-env",
|
||||||
|
"develop": "npm-run-all build:curriculum -p develop:*",
|
||||||
"develop:client": "cd ./client && npm run develop",
|
"develop:client": "cd ./client && npm run develop",
|
||||||
"develop:server": "cd ./api-server && npm run develop",
|
"develop:server": "cd ./api-server && npm run develop",
|
||||||
"docs:serve": "docsify serve ./docs -o --port 3200",
|
"docs:serve": "docsify serve ./docs -o --port 3200",
|
||||||
|
Reference in New Issue
Block a user