diff --git a/package.json b/package.json index 1ea7221..740d496 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "test": "test" }, "scripts": { - "build": "NODE_ENV=production babel src --out-dir lib --source-maps", + "build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps", "watch": "babel src --out-dir lib --watch --source-maps", "prepublish": "npm run --if-present build", "test": "mocha" @@ -44,6 +44,7 @@ "babel-traverse": "^6.7.3", "babel-types": "^6.7.2", "babylon": "^6.7.0", + "cross-env": "^3.1.4", "escodegen": "^1.8.0", "esprima": "^3.1.1", "estraverse": "^4.2.0",