From daf94907760563ab32fa6b01b686e47f928a0ba6 Mon Sep 17 00:00:00 2001 From: Grzegorz Ziolkowski Date: Tue, 9 Jan 2018 12:57:05 +0100 Subject: [PATCH] Move node version check to prebuild run script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 46f44cb138b4b..017cb872357bb 100644 --- a/package.json +++ b/package.json @@ -29,8 +29,9 @@ }, "scripts": { "build-clean": "rimraf ./packages/*/build ./packages/*/build-module", + "prebuild": "check-node-version --package", "build": "node ./scripts/build.js", - "postinstall": "lerna bootstrap && check-node-version --package && npm run build", + "postinstall": "lerna bootstrap && npm run build", "test": "jest", "test:coverage": "jest --coverage", "test:coverage-ci": "jest --coverage && codecov",