Skip to content

Commit 9d5b6a4

Browse files
authored
Merge pull request #49 from sag1v/master
added cross-env to support windows with NODE_ENV commands
2 parents c48db58 + 23a138c commit 9d5b6a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"doctoc": "doctoc README.md && if [ -f CONTRIBUTING.md ]; then doctoc CONTRIBUTING.md; fi && if [[ $(git diff --shortstat -- README.md 2> /dev/null | tail -n1) != '' || $(git diff --shortstat -- CONTRIBUTING.md 2> /dev/null | tail -n1) != '' ]]; then git add README.md CONTRIBUTING.md && git commit --no-verify -m'table of contents update'; fi",
4040
"gitPull": "git pull --rebase origin master",
4141
"gitPush": "git push --follow-tags --no-verify && git push --tags --no-verify",
42-
"build": "NODE_ENV=production && babel src --out-dir dist",
42+
"build": "cross-env NODE_ENV=production && babel src --out-dir dist",
4343
"release": "f () { source ./scripts.sh && npm run requireGitClean && npm run gitPull && npm run dmn && npm run doctoc && npm run build && npm run lint && npm test && npm_release public $@; }; f"
4444
},
4545
"config": {
@@ -65,6 +65,7 @@
6565
"babel-tape-runner": "^2.0.1",
6666
"babelify": "^7.3.0",
6767
"browserify": "^14.0.0",
68+
"cross-env": "^5.1.1",
6869
"devtool": "^2.2.0",
6970
"dmn": "^1.0.5",
7071
"doctoc": "^1.2.0",

0 commit comments

Comments
 (0)