-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
61 lines (61 loc) · 1.48 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
{
"name": "template",
"version": "1.0.0",
"description": "React template with TS",
"main": "./src/indes.tsx",
"scripts": {
"start": "webpack serve --config webpack.dev.config.js --progress"
},
"author": "dreamerryao",
"license": "MIT",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/toy-playground/react-template-with-ts.git"
},
"installConfig": {
"pnp": false
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"dependencies": {
"react": "17.x",
"react-dom": "17.x"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-export-default-from": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"babel-loader": "^8.2.2",
"html-webpack-plugin": "^5.3.2",
"lint-staged": "^10.0.7",
"prettier": "^2.2.0",
"ts-loader": "^9.2.5",
"typescript": "^4.1.2",
"webpack": "^5.44.0",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^4.1.1"
},
"browserslist": [
"iOS >= 8",
"last 1 versions",
"> 2%",
"not dead",
"not op_mini all"
]
}