-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
104 lines (104 loc) · 3.16 KB
/
package.json
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
{
"name": "chy-react-typescript",
"version": "1.0.2",
"description": "基于 Webpack5 搭建的 React + Typescript 基础项目开发模板",
"main": "index.tsx",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"core-js": "^3.15.2",
"jquery": "^3.6.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^6.3.0",
"webpack-bundle-analyzer": "^4.4.2"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@types/react": "^17.0.14",
"@types/react-dom": "^17.0.9",
"@types/react-router-dom": "^5.1.8",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"autoprefixer": "^10.2.6",
"babel-loader": "^8.2.2",
"clean-webpack-plugin": "^4.0.0-alpha.0",
"commitizen": "^4.2.4",
"copy-webpack-plugin": "^9.0.1",
"cross-env": "^7.0.3",
"css-loader": "^5.2.6",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.32.0",
"eslint-config-alloy": "^4.5.1",
"eslint-plugin-react": "^7.29.3",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.3.2",
"husky": "^7.0.4",
"less": "^4.1.3",
"less-loader": "^11.0.0",
"mini-css-extract-plugin": "^2.1.0",
"postcss-loader": "^6.1.1",
"prettier": "^2.3.2",
"require": "^2.4.20",
"sass": "^1.54.3",
"sass-loader": "^12.1.0",
"standard-version": "^9.3.2",
"style-loader": "^3.0.0",
"stylus": "^0.54.8",
"stylus-loader": "^6.1.0",
"typescript": "^4.6.2",
"url-loader": "^4.1.1",
"webpack": "^5.44.0",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2",
"webpack-merge": "^5.8.0"
},
"scripts": {
"serve": "cross-env NODE_ENV=development webpack serve --config ./config/webpack.dev.js",
"build": "cross-env NODE_ENV=production webpack --config ./config/webpack.prod.js",
"watch": "webpack watch",
"commit": "git-cz",
"prepare": "husky install",
"release": "standard-version",
"test": "npm run lint",
"lint": "npm run eslint && npm run prettier:fix",
"eslint": "eslint --ext .js,.jsx,.ts,.tsx --ignore-pattern \"bad.*\" .",
"eslint:fix": "eslint --fix --ext .js,.jsx,.ts,.tsx --ignore-pattern \"bad.*\" .",
"prettier": "prettier \"./**/*.{js,jsx,ts,tsx,css,less,scss,json}\"",
"prettier:fix": "prettier --write \"./**/*.{js,jsx,ts,tsx,css,less,scss,json}\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/vaechy/chy-react-typescript.git"
},
"keywords": [
"react-project",
"typescript-project",
"react-typescript",
"webpack5"
],
"author": {
"name": "vaechy",
"url": "https://github.com/vaechy"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/vaechy/chy-react-typescript/issues"
},
"homepage": "https://github.com/vaechy/chy-react-typescript#readme",
"browserslist": [
"iOS >= 8",
"last 1 versions",
"> 2%",
"not dead",
"not op_mini all"
]
}