Skip to content

Commit

Permalink
fix(npm): make build script cross-platform
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-homyakov committed Jan 18, 2017
1 parent dc27e1e commit a639564
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 @@ -22,7 +22,7 @@
"test": "test"
},
"scripts": {
"build": "NODE_ENV=production babel src --out-dir lib --source-maps",
"build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps",
"watch": "babel src --out-dir lib --watch --source-maps",
"prepublish": "npm run --if-present build",
"test": "mocha"
Expand All @@ -44,6 +44,7 @@
"babel-traverse": "^6.7.3",
"babel-types": "^6.7.2",
"babylon": "^6.7.0",
"cross-env": "^3.1.4",
"escodegen": "^1.8.0",
"esprima": "^3.1.1",
"estraverse": "^4.2.0",
Expand Down

0 comments on commit a639564

Please sign in to comment.