Commit 1e720aca authored by Nilesh Suthar's avatar Nilesh Suthar

Added Cross-env for windows postinstall support

parent e1b23be8
......@@ -10,7 +10,7 @@
"build-browser": "rm -rf dist && NODE_ENV=production webpack && gzip -k -f ./dist/*.js && du -h ./dist/*",
"build-node": "mkdir -p ./lib && cp -r ./src/* ./lib/ && babel ./src --out-dir ./lib",
"prepublish": "npm run test && npm run build",
"postinstall": "scripts/post-install.js"
"postinstall": "cross-env scripts/post-install.js"
},
"browser": {
"ws": false,
......@@ -57,6 +57,7 @@
"babel-preset-es2017": "^6.16.0",
"babel-register": "^6.14.0",
"bluebird": "^3.4.6",
"cross-env": "^5.0.0",
"eslint": "^3.5.0",
"eslint-plugin-import": "^1.15.0",
"eslint-plugin-jsx-a11y": "^2.2.2",
......
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