Merge pull request #17927 from woocommerce/add/grunt-build-shortcuts

Add npm scripts for grunt build commands
This commit is contained in:
Claudio Sanches 2017-11-28 11:08:01 -02:00 committed by GitHub
commit f255bb89db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@
"license": "GPL-3.0+",
"main": "Gruntfile.js",
"scripts": {
"build": "grunt",
"build-watch": "grunt watch",
"test": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha \"tests/e2e-tests\" --compilers js:babel-register --recursive",
"test:grep": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha \"tests/e2e-tests\" --compilers js:babel-register --grep ",
"test:single": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha --compilers js:babel-register"