Skip to content

Commit

Permalink
Use cross-env for build scripts
Browse files Browse the repository at this point in the history
Further fixes for #139
  • Loading branch information
cookpete committed Jan 8, 2017
1 parent ee779f4 commit a6191cf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"typings": "index.d.ts",
"scripts": {
"clean": "rimraf lib demo",
"build:webpack": "NODE_ENV=production webpack --config webpack.config.prod.js",
"build:browser": "NODE_ENV=production webpack --config webpack.config.browser.js",
"build:webpack": "cross-env NODE_ENV=production webpack --config webpack.config.prod.js",
"build:browser": "cross-env NODE_ENV=production webpack --config webpack.config.browser.js",
"build:demo": "npm run clean && npm run build:webpack && cp index.html demo",
"build:compile": "NODE_ENV=production babel src -d lib --ignore src/demo",
"build:compile": "cross-env NODE_ENV=production babel src -d lib --ignore src/demo",
"start": "node server.js",
"lint": "standard --verbose | snazzy",
"test": "karma start test/karma.config.js",
Expand Down Expand Up @@ -59,6 +59,7 @@
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-stage-0": "^6.16.0",
"chai": "^3.5.0",
"cross-env": "^3.1.4",
"css-loader": "^0.26.0",
"es6-promise": "^4.0.3",
"exports-loader": "^0.6.3",
Expand Down

0 comments on commit a6191cf

Please sign in to comment.