Skip to content

Commit

Permalink
Merge pull request #24 from mario-d-s/fix-scripts-windows
Browse files Browse the repository at this point in the history
Use cross-env to set environment variables in NPM scripts
  • Loading branch information
jonfriskics committed Jul 20, 2018
2 parents 25a2097 + a7a5675 commit ab0f3f3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"scripts": {
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"start": "npm run dev",
"test:module1": "NODE_ENV=test mocha 'test/unit/mocha/part1/*.spec.js' || true",
"test:module2": "NODE_ENV=test mocha 'test/unit/mocha/part2/*.spec.js' || true",
"test:module3": "NODE_ENV=test mocha 'test/unit/mocha/part3/*.spec.js' || true",
"test:module4": "NODE_ENV=test mocha 'test/unit/mocha/part4/*.spec.js' || true",
"test:module5": "NODE_ENV=test mocha 'test/unit/mocha/part5/*.spec.js' || true",
"test": "NODE_ENV=test mocha 'test/unit/mocha/**/*.spec.js' || true",
"test:module1": "cross-env NODE_ENV=test mocha 'test/unit/mocha/part1/*.spec.js' || true",
"test:module2": "cross-env NODE_ENV=test mocha 'test/unit/mocha/part2/*.spec.js' || true",
"test:module3": "cross-env NODE_ENV=test mocha 'test/unit/mocha/part3/*.spec.js' || true",
"test:module4": "cross-env NODE_ENV=test mocha 'test/unit/mocha/part4/*.spec.js' || true",
"test:module5": "cross-env NODE_ENV=test mocha 'test/unit/mocha/part5/*.spec.js' || true",
"test": "cross-env NODE_ENV=test mocha 'test/unit/mocha/**/*.spec.js' || true",
"lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs",
"build": "node build/build.js"
},
Expand Down

0 comments on commit ab0f3f3

Please sign in to comment.