@edwardxyt/gws-cli
Version:
这是一个web脚手架工具,用于生成基于webpack5,生成typescript+react17+mobx5+reactRouter6的应用。初衷是要解决多入口,多环境。单独编译单独运行的脚手架。做到小而美。拒绝锦上添花。
165 lines (164 loc) • 5.88 kB
JSON
{
"name": "website2022",
"version": "3.6.1",
"description": "这是一个web脚手架工具,用于生成基于webpack5,生成typescript+react17+mobx5+reactRouter6的应用。初衷是要解决多入口,多环境。单独编译单独运行的脚手架。做到小而美。拒绝锦上添花。",
"keywords": [
"react",
"mobx",
"typescript",
"react-router",
"webpack",
"Generator website cli"
],
"main": "index.js",
"config": {
"port": "9090",
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"scripts": {
"prestart": "cross-env node bin/del",
"start": "cross-env NODE_ENV='development' webpack server --config ./config/webpack.development.config",
"prebuild": "cross-env node bin/del",
"build": "cross-env NODE_ENV='production' webpack build --config ./config/webpack.production.config",
"prewatch": "cross-env node bin/del",
"watch": "cross-env webpack watch --config ./config/webpack.watch.config",
"del": "cross-env node bin/del",
"tree": "cross-env node bin/tree",
"prepare": "husky install",
"lint:fix": "eslint ./src --ext .jsx,.js,.ts,.tsx --fix --quiet --ignore-path .eslintignore --no-error-on-unmatched-pattern",
"lint:format": "prettier --loglevel warn --write \"./src/**/*.{js,jsx,ts,tsx,css,md,json}\" ",
"lint:style": "stylelint ./src/**/*.{css,less,scss} --fix --custom-syntax postcss-less",
"commit": "cz",
"genlog": "conventional-changelog -p react -i ./changeLog/CHANGELOG.md -s",
"type-check": "tsc"
},
"author": "",
"license": "MIT",
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
],
"dependencies": {
"@babel/core": "^7.17.4",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-class-static-block": "^7.16.7",
"@babel/plugin-proposal-decorators": "^7.16.7",
"@babel/plugin-proposal-do-expressions": "^7.16.7",
"@babel/plugin-proposal-export-default-from": "^7.16.7",
"@babel/plugin-proposal-function-bind": "^7.16.7",
"@babel/plugin-proposal-partial-application": "^7.16.7",
"@babel/plugin-proposal-private-property-in-object": "^7.16.7",
"@babel/plugin-proposal-throw-expressions": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.16.10",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@tanem/react-nprogress": "^4.0.7",
"@types/classnames": "^2.3.1",
"@types/lodash": "^4.14.178",
"@types/node": "^17.0.18",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/react-router-dom": "^5.3.3",
"@types/ua-parser-js": "^0.7.36",
"@types/uuid": "^8.3.4",
"@types/webpack": "^5.28.0",
"@types/webpack-env": "^1.16.3",
"antd": "^4.18.7",
"antd-mobile": "^5.22.0",
"autoprefixer": "^10.4.4",
"axios": "^0.26.0",
"babel-loader": "^8.2.3",
"big.js": "^6.1.1",
"classnames": "^2.3.1",
"compression-webpack-plugin": "^9.2.0",
"conventional-changelog-cli": "^2.2.2",
"copy-to-clipboard": "^3.3.1",
"crypto-js": "^4.1.1",
"css-loader": "^6.5.1",
"css-minimizer-webpack-plugin": "^3.4.1",
"dayjs": "^1.10.7",
"fetch-jsonp": "^1.2.1",
"highcharts": "^9.3.2",
"highcharts-react-official": "^3.1.0",
"immutability-helper": "^3.1.1",
"js-cookie": "^3.0.1",
"less": "^4.1.2",
"less-loader": "^10.2.0",
"md5": "^2.3.0",
"mini-css-extract-plugin": "^2.5.2",
"mobx": "^6.3.12",
"mobx-react": "^7.2.1",
"mobx-react-lite": "^3.2.3",
"postcss": "^8.4.5",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-loader": "^6.2.1",
"postcss-normalize": "^10.0.1",
"postcss-preset-env": "^7.4.0",
"progress-bar-webpack-plugin": "^2.1.0",
"qiankun": "^2.7.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-markdown": "^8.0.3",
"react-router-dom": "^6.2.1",
"rehype-highlight": "^5.0.2",
"remark-gfm": "^3.0.1",
"style-loader": "^3.3.1",
"styled-components": "^5.3.3",
"terser-webpack-plugin": "^5.3.0",
"ua-parser-js": "^1.0.2",
"uuid": "^8.3.2",
"vconsole": "^3.11.2",
"webpack-bundle-analyzer": "^4.5.0",
"workbox-webpack-plugin": "^6.4.2"
},
"devDependencies": {
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
"@soda/friendly-errors-webpack-plugin": "^1.8.1",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"commitizen": "^4.2.4",
"copy-webpack-plugin": "^10.2.1",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"del": "^6.0.0",
"detect-port": "^1.3.0",
"ejs-loader": "^0.5.0",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-webpack-plugin": "^3.1.1",
"glob": "^7.2.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^7.0.4",
"ip": "^1.1.5",
"lint-staged": "^12.3.4",
"prettier": "^2.5.1",
"react-refresh": "^0.11.0",
"react-refresh-typescript": "^2.0.3",
"source-map-loader": "^3.0.1",
"stylelint": "^14.5.1",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^25.0.0",
"stylelint-order": "^5.0.0",
"stylelint-prettier": "^2.0.0",
"ts-loader": "^9.2.6",
"typescript": "^4.5.5",
"webpack": "^5.69.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.7.3",
"webpack-merge": "^5.8.0"
}
}