78 lines
2.3 KiB
JSON
78 lines
2.3 KiB
JSON
{
|
|
"name": "reactapp",
|
|
"version": "0.0.1",
|
|
"description": "reactapp",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"clean": "rimraf ./dist",
|
|
"lint": "eslint --ext .js,.jsx src",
|
|
"dev": "webpack-dev-server --config config/webpack.config.dev.js --color",
|
|
"prod": "npm run clean && webpack --config config/webpack.config.prod.js --color",
|
|
"start": "if-env NODE_ENV=production && npm run prod || npm run dev"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/dunwu/react-admin.git"
|
|
},
|
|
"author": "Zhang Peng",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">= 4.0.0",
|
|
"npm": ">= 3.0.0"
|
|
},
|
|
"dependencies": {
|
|
"antd": "^2.12.1",
|
|
"axios": "^0.19.0",
|
|
"isomorphic-fetch": "^2.2.1",
|
|
"less": "^2.7.1",
|
|
"lodash": "^4.16.4",
|
|
"moment": "^2.18.1",
|
|
"prop-types": "^15.5.10",
|
|
"react": "^15.6.1",
|
|
"react-dom": "^15.6.1",
|
|
"react-redux": "^5.0.0",
|
|
"react-router": "^4.1.0",
|
|
"react-router-dom": "^4.1.1",
|
|
"redux": "^3.7.2",
|
|
"redux-thunk": "^2.2.0",
|
|
"reqwest": "^2.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"axios-mock-adapter": "^1.7.1",
|
|
"babel-core": "^6.25.0",
|
|
"babel-loader": "^7.1.0",
|
|
"babel-plugin-import": "^1.2.1",
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
|
"babel-plugin-transform-runtime": "^6.15.0",
|
|
"babel-polyfill": "^6.23.0",
|
|
"babel-preset-env": "^1.5.2",
|
|
"babel-preset-react": "^6.24.1",
|
|
"babel-preset-stage-0": "^6.24.1",
|
|
"css-loader": "^0.25.0",
|
|
"eslint": "3.7.1",
|
|
"eslint-config-airbnb": "12.0.0",
|
|
"eslint-plugin-import": "1.16.0",
|
|
"eslint-plugin-jsx-a11y": "2.2.3",
|
|
"eslint-plugin-react": "6.3.0",
|
|
"extract-text-webpack-plugin": "^2.1.2",
|
|
"file-loader": "^0.9.0",
|
|
"html-webpack-plugin": "^2.24.1",
|
|
"if-env": "^1.0.0",
|
|
"image-webpack-loader": "^3.3.1",
|
|
"less-loader": "^2.2.3",
|
|
"open-browser-webpack-plugin": "^0.0.5",
|
|
"react-hot-loader": "^3.0.0-beta.7",
|
|
"redux-devtools": "^3.4.0",
|
|
"redux-devtools-dock-monitor": "^1.0.1",
|
|
"redux-devtools-log-monitor": "^1.0.2",
|
|
"redux-logger": "^3.0.6",
|
|
"redux-mock-store": "^1.2.3",
|
|
"rimraf": "^2.6.1",
|
|
"style-loader": "^0.18.2",
|
|
"url-loader": "^0.5.7",
|
|
"webpack": "^3.5.5",
|
|
"webpack-dev-server": "^2.7.1",
|
|
"webpack-merge": "^4.1.0"
|
|
}
|
|
}
|