make development cross-platform compatible

This commit is contained in:
Michael Telatynski 2017-08-22 10:24:53 +01:00
parent f7fe63d980
commit 76a519960e
No known key found for this signature in database
GPG Key ID: 3F879DA5AD802A5E

View File

@ -4,7 +4,7 @@
"description": "Stateless privacy-protecting URL redirecting service for the Matrix.org ecosystem", "description": "Stateless privacy-protecting URL redirecting service for the Matrix.org ecosystem",
"main": "src/index.js", "main": "src/index.js",
"scripts": { "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", "start": "webpack -w src/index.js bundle.js",
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"clean": "rm bundle.js bundle.js.map" "clean": "rm bundle.js bundle.js.map"
@ -28,6 +28,7 @@
"babel-loader": "^6.2.4", "babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.6.0", "babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0", "babel-preset-react": "^6.5.0",
"cross-env": "^5.0.5",
"source-map-loader": "^0.1.5", "source-map-loader": "^0.1.5",
"webpack": "^1.13.0" "webpack": "^1.13.0"
} }