Skip to content

Commit

Permalink
use cross-env; npm script support
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Kidder committed Jan 29, 2016
1 parent 03134a8 commit f8381bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Redux counter example",
"scripts": {
"start": "node server.js",
"test": "NODE_ENV=test mocha --recursive --compilers js:babel-core/register --require ./test/setup.js",
"test": "cross-env NODE_ENV=test mocha --recursive --compilers js:babel-core/register --require ./test/setup.js",
"test:watch": "npm test -- --watch"
},
"repository": {
Expand All @@ -25,6 +25,7 @@
"babel-core": "^5.6.18",
"babel-loader": "^5.1.4",
"babel-plugin-react-transform": "^1.1.0",
"cross-env": "^1.0.7",
"expect": "^1.6.0",
"express": "^4.13.3",
"jsdom": "^5.6.1",
Expand Down
3 changes: 2 additions & 1 deletion examples/todomvc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Redux TodoMVC example",
"scripts": {
"start": "node server.js",
"test": "NODE_ENV=test mocha --recursive --compilers js:babel-core/register --require ./test/setup.js",
"test": "cross-env NODE_ENV=test mocha --recursive --compilers js:babel-core/register --require ./test/setup.js",
"test:watch": "npm test -- --watch"
},
"repository": {
Expand All @@ -27,6 +27,7 @@
"babel-core": "^5.6.18",
"babel-loader": "^5.1.4",
"babel-plugin-react-transform": "^1.1.0",
"cross-env": "^1.0.7",
"expect": "^1.8.0",
"express": "^4.13.3",
"jsdom": "^5.6.1",
Expand Down

0 comments on commit f8381bc

Please sign in to comment.