Skip to content

Commit

Permalink
Merge pull request #49 from sag1v/master
Browse files Browse the repository at this point in the history
added cross-env to support windows with NODE_ENV commands
  • Loading branch information
joeybaker authored Dec 18, 2017
2 parents c48db58 + 23a138c commit 9d5b6a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"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",
"gitPull": "git pull --rebase origin master",
"gitPush": "git push --follow-tags --no-verify && git push --tags --no-verify",
"build": "NODE_ENV=production && babel src --out-dir dist",
"build": "cross-env NODE_ENV=production && babel src --out-dir dist",
"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"
},
"config": {
Expand All @@ -65,6 +65,7 @@
"babel-tape-runner": "^2.0.1",
"babelify": "^7.3.0",
"browserify": "^14.0.0",
"cross-env": "^5.1.1",
"devtool": "^2.2.0",
"dmn": "^1.0.5",
"doctoc": "^1.2.0",
Expand Down

0 comments on commit 9d5b6a4

Please sign in to comment.