make development cross-platform compatible
This commit is contained in:
parent
f7fe63d980
commit
76a519960e
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue