Test local commands

This commit is contained in:
Max
2016-07-21 12:29:18 +02:00
committed by Dan Abramov
parent ee91202ca7
commit 49e2fb54be

View File

@@ -33,6 +33,16 @@ scripts_path=$PWD/`npm pack`
# lint
./node_modules/.bin/eslint --ignore-path .gitignore ./
# Test local start command
npm start -- --smoke-test
# Test local build command
npm run build
# Check for expected output
test -e build/*.html || exit 1
test -e build/*.js || exit 1
# Pack CLI
cd global-cli
npm install