Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 4.1 KB
/
Copy pathpackage.json
File metadata and controls
130 lines (130 loc) · 4.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "react-ts-quick-starter",
"version": "2.0.0",
"description": "Quickly create react17 + webpack5 + typescript project environment.",
"main": "index.js",
"scripts": {
"start": "cross-env NODE_ENV=development node scripts/server",
"build": "cross-env NODE_ENV=production webpack --config ./scripts/config/webpack.prod.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"lint": "npm run lint-eslint && npm run lint-stylelint",
"lint-eslint": "eslint -c .eslintrc.js --ext .ts,.tsx,.js src",
"lint-stylelint": "stylelint --config .stylelintrc.js src/**/*.{less,css,scss}"
},
"browserslist": [
">0.2%",
"not dead",
"ie >= 9",
"not op_mini all"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint --config .commitlintrc.js -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{ts,tsx,js}": [
"eslint --config .eslintrc.js"
],
"*.{css,less,scss}": [
"stylelint --config .stylelintrc.js"
],
"*.{ts,tsx,js,json,html,yml,css,less,scss,md}": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/vortesnail/react-ts-quick-starter.git"
},
"keywords": [
"react-project",
"typescript-project",
"react-typescript",
"react-ts-quick-starter",
"webpack5"
],
"author": {
"name": "vortesnail",
"url": "https://github.com/vortesnail",
"email": "1091331061@qq.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/vortesnail/react-ts-quick-starter/issues"
},
"homepage": "https://github.com/vortesnail/react-ts-quick-starter#readme",
"devDependencies": {
"@babel/core": "^7.13.13",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@babel/preset-react": "^7.13.13",
"@babel/preset-typescript": "^7.13.0",
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@types/webpack-env": "^1.16.0",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"autoprefixer": "^10.2.5",
"babel-loader": "^8.2.2",
"chalk": "^4.1.0",
"clean-webpack-plugin": "^3.0.0",
"conventional-changelog-cli": "^2.1.1",
"copy-webpack-plugin": "^8.1.0",
"cross-env": "^7.0.3",
"css-loader": "^5.2.0",
"css-minimizer-webpack-plugin": "^1.3.0",
"detect-port-alt": "^1.1.6",
"error-overlay-webpack-plugin": "^0.4.2",
"eslint": "^7.22.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-react": "^7.23.1",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-unicorn": "^29.0.0",
"fork-ts-checker-webpack-plugin": "^6.2.0",
"html-webpack-plugin": "^5.3.1",
"husky": "^4.3.8",
"ip": "^1.1.5",
"is-root": "^2.1.0",
"lint-staged": "^10.5.4",
"mini-css-extract-plugin": "^1.4.0",
"node-sass": "^5.0.0",
"postcss": "^8.2.8",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-loader": "^5.2.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.2.1",
"sass-loader": "^11.0.1",
"style-loader": "^2.0.0",
"stylelint": "^13.12.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^21.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.3.0",
"stylelint-order": "^4.1.0",
"stylelint-scss": "^3.19.0",
"terser-webpack-plugin": "^5.1.1",
"typescript": "^4.2.3",
"webpack": "^5.37.1",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^4.5.0",
"webpack-dev-server": "^3.11.2",
"webpack-merge": "^5.7.3",
"webpackbar": "^5.0.0-3"
},
"dependencies": {
"@babel/runtime-corejs3": "^7.13.10",
"axios": "^0.21.1",
"react": "^17.0.2",
"react-dom": "^17.0.2"
}
}