UNPKG

react-whole-barrels

Version:

- [x] Es6/7 - [x] react/react-router/dva - [x] less - [x] dev-server - [x] 模块热替换(HMR) - [x] sourcemap - [x] CSS代码分割 - [x] 代码分割(SplitChunksPlugin) - [x] 浏览器缓存 - [x] tree shaking - [x] DellPlugin - [x] PWA - [x] eslint - [x] stylelint

97 lines (96 loc) 3.09 kB
{ "name": "react-whole-barrels", "version": "1.0.0", "description": "", "main": "index.js", "sideEffects": [ "*.css", "*.less" ], "scripts": { "start": "node ./build/dev-server.js", "dev-build": "webpack --config ./build/webpack.dev.js", "build": "webpack --config ./build/webpack.prod.js", "dll": "webpack --config ./build/webpack.dll.js", "lint": "npm run eslint && npm run stylelint", "eslint": "eslint --ext .js,.jsx src", "stylelint": "stylelint \"src/**/*.less\" --syntax less" }, "repository": { "type": "git", "url": "git+https://github.com/LuoShengMen/React-Whole-barrels.git" }, "keywords": [], "author": "", "license": "ISC", "bugs": { "url": "https://github.com/LuoShengMen/React-Whole-barrels/issues" }, "homepage": "https://github.com/LuoShengMen/React-Whole-barrels#readme", "devDependencies": { "@babel/core": "^7.4.5", "@babel/plugin-proposal-class-properties": "^7.4.4", "@babel/plugin-transform-runtime": "^7.8.3", "@babel/preset-env": "^7.4.5", "@babel/preset-react": "^7.0.0", "@babel/preset-typescript": "^7.8.3", "autoprefixer": "^9.6.0", "awesome-typescript-loader": "^5.2.1", "babel-eslint": "^10.0.2", "babel-loader": "^8.0.6", "babel-plugin-dva-hmr": "^0.4.2", "babel-plugin-transform-runtime": "^6.23.0", "css-loader": "^3.0.0", "eslint": "^5.12.0", "eslint-config-airbnb": "^17.1.0", "eslint-loader": "^2.1.1", "eslint-plugin-import": "^2.14.0", "eslint-plugin-jsx-a11y": "^6.1.2", "eslint-plugin-react": "^7.12.3", "extract-text-webpack-plugin": "^4.0.0-beta.0", "file-loader": "^4.0.0", "friendly-errors-webpack-plugin": "^1.7.0", "less": "^3.9.0", "less-loader": "^5.0.0", "mini-css-extract-plugin": "^0.7.0", "open-browser-webpack-plugin": "^0.0.5", "optimize-css-assets-webpack-plugin": "^5.0.1", "postcss-loader": "^3.0.0", "style-loader": "^0.23.1", "stylelint": "^10.1.0", "stylelint-config-standard": "^18.3.0", "url-loader": "^2.0.0", "webpack": "^4.35.0", "webpack-cli": "^3.3.5", "webpack-dev-middleware": "^3.7.0", "webpack-dev-server": "^3.7.2", "webpack-hot-middleware": "^2.25.0" }, "dependencies": { "@babel/plugin-proposal-decorators": "^7.4.4", "@babel/polyfill": "^7.4.4", "@babel/runtime": "^7.8.4", "add-asset-html-webpack-plugin": "^3.1.3", "antd": "^3.19.8", "babel-plugin-import": "^1.12.0", "clean-webpack-plugin": "^3.0.0", "connect-history-api-fallback": "^1.6.0", "core-js": "^2.6.9", "css-split-webpack-plugin": "^0.2.6", "dva": "^2.4.1", "fs": "^0.0.1-security", "history": "^4.9.0", "html-webpack-plugin": "^3.2.0", "prop-types": "^15.7.2", "qhistory": "^1.0.3", "qs": "^6.7.0", "react": "^16.8.6", "react-dom": "^16.8.6", "react-router": "^5.0.1", "react-router-dom": "^5.0.1", "redbox-react": "^1.6.0", "webpack-merge": "^4.2.1", "webpackbar": "^3.2.0", "workbox-webpack-plugin": "^4.3.1" } }