radar/webapp/package.json
chengshuping@xforceplus.com e496774c74 这次10.21前端更新版本内容
1.webapck1升级到4
2.@babel 统一升级到7版本
3.less-loader 升级
4.分开dist跟开发依赖,不要手动引入js文件,发布项目只要发布dist就行。
5.增加eslint。
2019-10-21 14:44:27 +08:00

80 lines
2.3 KiB
JSON

{
"name": "radar",
"version": "5.0.0",
"description": "",
"main": "src/index.jsx",
"scripts": {
"start": "webpack-dev-server --inline --config webpack.config.dev.js --open",
"build": "webpack --config webpack.config.prod.js --mode production"
},
"dependencies": {
"antd": "^2.1.0",
"babel-runtime": "^6.9.2",
"console-polyfill": "^0.2.2",
"echarts": "^3.2.3",
"history": "^2.1.1",
"moment": "^2.15.1",
"react": "^15.0.0",
"react-dom": "^15.0.0",
"react-router": "^2.4.0",
"whatwg-fetch": "^1.0.0",
"animate.css": "^3.5.1",
"fetch-ie8": "^1.4.2"
},
"devDependencies": {
"copy-webpack-plugin": "2.x",
"less": "2.7.3",
"less-loader": "^4.1.0",
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-decorators": "^7.4.0",
"@babel/plugin-proposal-export-default-from": "^7.2.0",
"@babel/polyfill": "^7.4.0",
"@babel/preset-env": "^7.4.1",
"@babel/preset-react": "^7.0.0",
"autoprefixer": "^8.6.5",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"babel-loader": "^8.0.5",
"clean-webpack-plugin": "^0.1.19",
"css-loader": "^0.28.11",
"css-split-webpack-plugin": "^0.2.6",
"es3ify-webpack-plugin": "0.0.1",
"eslint": "^5.1.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^2.0.0",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^3.0.1",
"friendly-errors-webpack-plugin": "^1.7.0",
"fs-extra": "^7.0.0",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.5.0",
"mini-css-extract-plugin": "^0.4.0",
"moment": "2.22.2",
"node-notifier": "^5.2.1",
"node-sass": "^4.9.0",
"optimize-css-assets-webpack-plugin": "^4.0.2",
"ora": "^3.0.0",
"portfinder": "^1.0.17",
"postcss-flexbugs-fixes": "^3.3.1",
"postcss-loader": "^2.1.6",
"sass-loader": "^7.0.3",
"style-loader": "^0.21.0",
"uglifyjs-webpack-plugin": "^1.2.7",
"url-loader": "^1.0.1",
"webpack": "^4.12.1",
"webpack-bundle-analyzer": "^3.0.2",
"webpack-cli": "^3.0.8",
"webpack-dev-server": "^3.1.4",
"webpack-merge": "^4.1.4"
},
"keywords": [
"es6",
"react"
]
}