Skip to content

Commit c814510

Browse files
dgautschdanielcaldas
authored andcommitted
Adding cross-env to support development on windows. (#134)
1 parent 9bbf5b7 commit c814510

File tree

2 files changed

+38
-15
lines changed

2 files changed

+38
-15
lines changed

package-lock.json

Lines changed: 36 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"check": "npm run docs:lint && npm run lint && npm run test && npm run functional",
99
"check:light": "npm run lint && npm run test",
10-
"dev": "NODE_ENV=dev webpack-dev-server --mode=development --content-base sandbox --config webpack.config.js --inline --hot --port 3002",
10+
"dev": "cross-env NODE_ENV=dev webpack-dev-server --mode=development --content-base sandbox --config webpack.config.js --inline --hot --port 3002",
1111
"dist:rd3g": "rm -rf dist/ && webpack --config webpack.config.dist.js -p --display-modules --optimize-minimize",
1212
"dist:sandbox": "webpack --config webpack.config.js -p",
1313
"dist:transpile": "./node_modules/babel-cli/bin/babel.js -d lib src",
@@ -52,6 +52,7 @@
5252
"babel-preset-es2017": "6.24.1",
5353
"babel-preset-react": "6.24.1",
5454
"babel-preset-stage-0": "6.24.1",
55+
"cross-env": "^5.2.0",
5556
"css-loader": "0.28.7",
5657
"cypress": "2.1.0",
5758
"d3": "^5.5.0",

0 commit comments

Comments
 (0)