{
"private": true,
"engines": {
"install-node": "6.9.2"
},
"dependencies": {
"antd": "2.8.1",
"babel-runtime": "^6.9.2", // "^6.9.2", 表示这个版本不能变。
"classnames": "^2.2.5",
"dva": "^1.2.1",
"g2": "^2.2.3",
"g2-react": "^1.2.0",
"js-url": "^2.3.0",
"lib": "^2.2.5",
"moment": "^2.17.1",
"react": "^15.4.0",
"react-data-grid": "^2.0.4",
"react-data-grid-addons": "^2.0.4",
"react-dom": "^15.4.0",
"react-router": "^2.8.1",
"redux-logger": "^2.8.1",
"superagent": "^3.4.1",
"validator": "^6.2.1"
},
"devDependencies": {
"atool-build": "^0.9.3",
"babel-eslint": "^7.1.1",
"babel-plugin-dev-expression": "^0.2.1",
"babel-plugin-dva-hmr": "^0.3.2",
"babel-plugin-import": "^1.1.0",
"babel-plugin-transform-runtime": "^6.9.0",
"dora": "^0.4.3",
"dora-plugin-proxy": "^0.8.4",
"dora-plugin-webpack": "^0.8.1",
"dora-plugin-webpack-hmr": "^0.2.1",
"eslint": "^3.12.2",
"eslint-config-airbnb": "^13.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.8.0",
"expect": "^1.20.2",
"faker": "^3.1.0",
"glob": "^7.1.1",
"grunt": "^1.0.1",
"husky": "^0.12.0",
"redbox-react": "^1.3.2",
"rmdir-cli": "^2.0.6",
"roadhog": "^0.5.2"
},
"scripts": {
"start": "set NODE_ENV=development &&dora -p 8988 --plugins \"proxy?port=8986 & watchDirs=./mock,webpack,webpack-hmr\"", //项目启动命令。
"build": "rmdir-cli dir&&atool-build -o dir --hash --watch",
"build:post": "node post-build.config.js",
"test": "atool-test-mocha ./src/**/*-test.js", //代码校验。
"lint": "eslint --ext .js src test"
}
}
"private": true,
"engines": {
"install-node": "6.9.2"
},
"dependencies": {
"antd": "2.8.1",
"babel-runtime": "^6.9.2", // "^6.9.2", 表示这个版本不能变。
"classnames": "^2.2.5",
"dva": "^1.2.1",
"g2": "^2.2.3",
"g2-react": "^1.2.0",
"js-url": "^2.3.0",
"lib": "^2.2.5",
"moment": "^2.17.1",
"react": "^15.4.0",
"react-data-grid": "^2.0.4",
"react-data-grid-addons": "^2.0.4",
"react-dom": "^15.4.0",
"react-router": "^2.8.1",
"redux-logger": "^2.8.1",
"superagent": "^3.4.1",
"validator": "^6.2.1"
},
"devDependencies": {
"atool-build": "^0.9.3",
"babel-eslint": "^7.1.1",
"babel-plugin-dev-expression": "^0.2.1",
"babel-plugin-dva-hmr": "^0.3.2",
"babel-plugin-import": "^1.1.0",
"babel-plugin-transform-runtime": "^6.9.0",
"dora": "^0.4.3",
"dora-plugin-proxy": "^0.8.4",
"dora-plugin-webpack": "^0.8.1",
"dora-plugin-webpack-hmr": "^0.2.1",
"eslint": "^3.12.2",
"eslint-config-airbnb": "^13.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.8.0",
"expect": "^1.20.2",
"faker": "^3.1.0",
"glob": "^7.1.1",
"grunt": "^1.0.1",
"husky": "^0.12.0",
"redbox-react": "^1.3.2",
"rmdir-cli": "^2.0.6",
"roadhog": "^0.5.2"
},
"scripts": {
"start": "set NODE_ENV=development &&dora -p 8988 --plugins \"proxy?port=8986 & watchDirs=./mock,webpack,webpack-hmr\"", //项目启动命令。
"build": "rmdir-cli dir&&atool-build -o dir --hash --watch",
"build:post": "node post-build.config.js",
"test": "atool-test-mocha ./src/**/*-test.js", //代码校验。
"lint": "eslint --ext .js src test"
}
}