fix(tools): add build scripts

This commit is contained in:
Mrugesh Mohapatra
2019-08-15 14:41:29 +05:30
committed by mrugesh
parent 91ad464020
commit de5e88942f

View File

@ -5,6 +5,9 @@
"scripts": { "scripts": {
"audit": "npm audit && lerna exec --concurrency 1 'echo $LERNA_PACKAGE_NAME && npm audit'", "audit": "npm audit && lerna exec --concurrency 1 'echo $LERNA_PACKAGE_NAME && npm audit'",
"audit:fix": "npm audit fix && lerna exec --concurrency 1 'echo $LERNA_PACKAGE_NAME && npm audit fix'", "audit:fix": "npm audit fix && lerna exec --concurrency 1 'echo $LERNA_PACKAGE_NAME && npm audit fix'",
"build": "npm-run-all ensure-env -p build:*",
"build:client": "cd ./client && npm run build",
"build:server": "cd ./api-server && npm run build",
"bootstrap": "lerna bootstrap --ci", "bootstrap": "lerna bootstrap --ci",
"clean": "npm-run-all clean:gatsby-site clean:packages", "clean": "npm-run-all clean:gatsby-site clean:packages",
"clean:root-deps": "shx rm -rf node_modules", "clean:root-deps": "shx rm -rf node_modules",