From 76a519960e29ca7e7f7b552488c24f7338bb83a2 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 22 Aug 2017 10:24:53 +0100 Subject: [PATCH] make development cross-platform compatible --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ca80eea..d52500b 100644 --- a/package.json +++ b/package.json @@ -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" }