Skip to content

Commit

Permalink
Merge pull request #1313 from mikekidder/npm.script.win.support
Browse files Browse the repository at this point in the history
Minor :: use cross-env; npm script support
  • Loading branch information
gaearon committed Jan 31, 2016
2 parents 18b47c5 + f8381bc commit c4d32a4
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 c4d32a4

Please sign in to comment.