@edwardxyt/gws-cli
Version:
这是一个web脚手架工具,用于生成基于webpack5,生成typescript+react17+mobx5+reactRouter6的应用。初衷是要解决多入口,多环境。单独编译单独运行的脚手架。做到小而美。拒绝锦上添花。
115 lines (114 loc) • 4.13 kB
JSON
{
"name": "root",
"private": true,
"workspaces": [
"packages/*"
],
"config": {
"port": "9091",
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
],
"scripts": {
"start": "cross-env NODE_ENV='development' webpack server --config ./config/webpack.development.config",
"build": "cross-env NODE_ENV='production' webpack build --config ./config/webpack.production.config",
"lint:fix": "eslint ./packages/**/* --ext .jsx,.js,.ts,.tsx --fix --quiet --ignore-path .eslintignore --no-error-on-unmatched-pattern",
"lint:format": "prettier --loglevel warn --write \"./packages/**/*.{js,jsx,ts,tsx,css,md,json}\" ",
"lint:style": "stylelint ./packages/**/*.{css,less,scss} --fix --custom-syntax postcss-less",
"prepare": "husky install",
"commit": "cz",
"genlog": "conventional-changelog -p react -i ./changeLog/CHANGELOG.md -s",
"type-check": "tsc"
},
"devDependencies": {
"lerna": "^4.0.0",
"lerna-update-wizard": "^1.1.2"
},
"dependencies": {
"@babel/core": "^7.17.7",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-class-static-block": "^7.17.6",
"@babel/plugin-proposal-decorators": "^7.17.2",
"@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.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@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",
"@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",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"autoprefixer": "^10.4.4",
"babel-loader": "^8.2.3",
"chalk": "^4.1.2",
"commitizen": "^4.2.4",
"compression-webpack-plugin": "^9.2.0",
"conventional-changelog-cli": "^2.2.2",
"copy-webpack-plugin": "^10.2.4",
"cross-env": "^7.0.3",
"crypto": "^1.0.1",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^3.4.1",
"cz-conventional-changelog": "^3.3.0",
"dayjs": "^1.11.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",
"html-webpack-plugin": "^5.5.0",
"husky": "^7.0.4",
"ip": "^1.1.5",
"less": "^4.1.2",
"less-loader": "^10.2.0",
"lint-staged": "^12.3.4",
"lodash": "^4.17.21",
"mini-css-extract-plugin": "^2.6.0",
"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",
"react-refresh": "^0.11.0",
"react-refresh-typescript": "^2.0.3",
"source-map-loader": "^3.0.1",
"style-loader": "^3.3.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",
"terser-webpack-plugin": "^5.3.1",
"ts-loader": "^9.2.8",
"typescript": "^4.6.2",
"webpack": "^5.69.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.7.3"
}
}