forked from xpioneer/react-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.6 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
{
"name": "cms-react",
"version": "1.1.0",
"description": "A Project with React/Typescript",
"main": "index.js",
"author": "xpionner",
"license": "MIT",
"scripts": {
"start": "npm run dev",
"dev": "NODE_ENV=development webpack-dev-server --config build/webpack.dev.conf.js",
"build": "NODE_ENV=production webpack --config build/webpack.prod.conf.js",
"lint": "eslint --ext ts,tsx src/",
"lint:fix": "eslint --ext ts,tsx src/ --fix",
"lintcss": "stylelint --syntax scss src/**/*.scss",
"lintcss:fix": "stylelint --syntax scss src/**/*.scss --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xpioneer/react-typescript.git"
},
"bugs": {
"url": "https://github.com/xpioneer/react-typescript/issues"
},
"dependencies": {
"antd": "^3.25.1",
"axios": "^0.19.0",
"echarts": "^4.2.0-rc.2",
"mobx": "^5.15.0",
"mobx-react": "^6.1.4",
"quill": "^1.3.6",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"react-router-dom": "^5.1.2"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-decorators": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@types/echarts": "^4.1.3",
"@types/quill": "^2.0.1",
"@types/react": "^16.7.7",
"@types/react-dom": "^16.0.10",
"@types/react-router-dom": "^4.3.1",
"@typescript-eslint/eslint-plugin": "^4.10.0",
"@typescript-eslint/parser": "^4.10.0",
"babel-loader": "^8.2.2",
"copy-webpack-plugin": "^7.0.0",
"css-loader": "^5.0.1",
"eslint": "^7.15.0",
"eslint-plugin-react": "^7.21.5",
"html-webpack-plugin": "^5.0.0-alpha.17",
"husky": "^4.3.6",
"lint-staged": "^10.5.3",
"mini-css-extract-plugin": "^1.3.3",
"node-sass": "^5.0.0",
"optimize-css-assets-webpack-plugin": "^5.0.4",
"postcss-loader": "^4.1.0",
"postcss-preset-env": "^6.7.0",
"sass-loader": "^10.1.0",
"style-loader": "^2.0.0",
"stylelint": "^13.8.0",
"stylelint-config-standard": "^20.0.0",
"terser-webpack-plugin": "^5.0.3",
"typescript": "^4.1.3",
"url-loader": "^4.1.1",
"webpack": "^5.10.3",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^5.7.2",
"workbox-webpack-plugin": "^6.0.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"npm run lint:fix"
],
"src/**/*.{css,scss}": [
"npm run lintcss:fix"
]
}
}