From de5e88942f9df2663c3a0c26a60e792e2f342025 Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra Date: Thu, 15 Aug 2019 14:41:29 +0530 Subject: [PATCH] fix(tools): add build scripts --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index b3e521bcb1..c10df695ec 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,9 @@ "scripts": { "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'", + "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", "clean": "npm-run-all clean:gatsby-site clean:packages", "clean:root-deps": "shx rm -rf node_modules",