Commit 7b231c98 authored by nano's avatar nano

cross-env

parent a76f2c3a
{ {
"private": true, "private": true,
"scripts": { "scripts": {
"start": "BUILD=development roadhog server", "start": "cross-env BUILD=development roadhog server",
"build:dev":"BUILD=development roadhog build", "build:dev": "cross-env BUILD=development roadhog build",
"build": "roadhog build", "build": "roadhog build",
"lint": "eslint --ext .js src test", "lint": "eslint --ext .js src test",
"precommit": "npm run lint" "precommit": "npm run lint"
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
"babel-plugin-dva-hmr": "^0.3.2", "babel-plugin-dva-hmr": "^0.3.2",
"babel-plugin-import": "^1.1.1", "babel-plugin-import": "^1.1.1",
"babel-plugin-transform-runtime": "^6.9.0", "babel-plugin-transform-runtime": "^6.9.0",
"cross-env": "^4.0.0",
"eslint": "^3.12.2", "eslint": "^3.12.2",
"eslint-config-airbnb": "^13.0.0", "eslint-config-airbnb": "^13.0.0",
"eslint-plugin-import": "^2.2.0", "eslint-plugin-import": "^2.2.0",
......
This diff is collapsed.
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