make development cross-platform compatible

parent f7fe63d9
......@@ -4,7 +4,7 @@
"description": "Stateless privacy-protecting URL redirecting service for the Matrix.org ecosystem",
"main": "src/index.js",
"scripts": {
"build": "NODE_ENV=production webpack -p src/index.js bundle.js",
"build": "cross-env NODE_ENV=production webpack -p src/index.js bundle.js",
"start": "webpack -w src/index.js bundle.js",
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "rm bundle.js bundle.js.map"
......@@ -28,6 +28,7 @@
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"cross-env": "^5.0.5",
"source-map-loader": "^0.1.5",
"webpack": "^1.13.0"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment