-
Notifications
You must be signed in to change notification settings - Fork 44
/
package.json
142 lines (142 loc) · 5.42 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
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
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "awesome-chrome-extension-boilerplate",
"version": "1.0.0",
"description": "an awesome boilerplate for chrome extension development!",
"private": true,
"author": "YuTengjing",
"license": "MIT",
"homepage": "https://github.com/tjx666/awesome-chrome-extension-boilerplate#readme",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/tjx666/awesome-chrome-extension-boilerplate.git"
},
"bugs": {
"url": "https://github.com/tjx666/awesome-chrome-extension-boilerplate/issues"
},
"scripts": {
"start": "cross-env-shell NODE_ENV=development ts-node --files -P ./server/tsconfig.json ./server",
"devtools": "pnpm start -- --devtools",
"build": "cross-env-shell NODE_ENV=production ts-node --files -P ./server/tsconfig.json ./server",
"build-analyze": "pnpm build -- --analyze",
"test": "pnpm build",
"lint": "pnpm eslint && pnpm lint-style",
"eslint": "eslint -c .eslintrc.js --ext .ts,.tsx ./src/**/*.tsx ./{src,server}/**/*.ts",
"lint-style": "stylelint --config .stylelintrc.json src/**/*.{css,less,scss}",
"clean": "rimraf -rf ./extension ./dist ./*.zip ./*.crx",
"reinstall": "rimraf -rf ./node_modules && pnpm",
"prepare": "husky install"
},
"lint-staged": {
"*.{ts,tsx,js}": [
"eslint -c .eslintrc.js",
"format-imports --config .vscode/import-sorter.json"
],
"*.{css,less,scss}": [
"stylelint --config .stylelintrc.json"
],
"*.{ts,tsx,json,js,css,less,scss,md}": [
"prettier --write"
]
},
"dependencies": {
"antd": "^4.19.1",
"dayjs": "^1.10.8",
"jquery": "^3.6.0",
"lodash": "^4.17.21",
"normalize.css": "^8.0.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-router-dom": "^6.2.2"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/plugin-proposal-decorators": "^7.17.2",
"@babel/plugin-transform-react-constant-elements": "^7.17.6",
"@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",
"@lukeapage/webpack-hot-middleware": "2.25.2",
"@nuxt/friendly-errors-webpack-plugin": "^2.5.2",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
"@types/chrome": "0.0.179",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/html-minifier": "^4.0.2",
"@types/html-webpack-plugin": "^3.2.6",
"@types/jquery": "^3.5.14",
"@types/lodash": "^4.14.179",
"@types/node": "^17.0.21",
"@types/react": "^17.0.40",
"@types/react-dom": "^17.0.13",
"@types/react-router-dom": "^5.3.3",
"@types/webpack": "^5.28.0",
"@types/webpack-bundle-analyzer": "^4.4.1",
"@types/webpack-hot-middleware": "^2.25.6",
"@types/webpackbar": "^4.0.3",
"@types/yargs": "^17.0.9",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"antd-dayjs-webpack-plugin": "^1.0.6",
"audit-ci": "6.0.0-beta.1",
"babel-loader": "^8.2.3",
"babel-plugin-import": "^1.13.3",
"babel-plugin-lodash": "^3.3.4",
"chalk": "^4.1.2",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^10.2.4",
"core-js": "^3.21.1",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^3.4.1",
"eslint": "^8.11.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.29.3",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-unicorn": "^41.0.0",
"execa": "^5.1.1",
"express": "^4.17.3",
"fork-ts-checker-webpack-plugin": "6.5.0",
"format-imports": "^3.0.1",
"get-port": "^5.1.1",
"html-webpack-plugin": "^5.5.0",
"http-proxy-middleware": "^2.0.3",
"husky": "^7.0.4",
"less": "^4.1.2",
"less-loader": "^10.2.0",
"lint-staged": "^12.3.5",
"mini-css-extract-plugin": "^2.6.0",
"open": "^8.4.0",
"postcss-less": "^6.0.0",
"postcss-scss": "^4.0.3",
"prettier": "^2.5.1",
"react-devtools": "4.24.0",
"react-refresh": "^0.11.0",
"rimraf": "^3.0.2",
"sass": "^1.49.9",
"sass-loader": "^12.6.0",
"ssestream": "^1.1.0",
"stylelint": "^14.5.3",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recess-order": "^3.0.0",
"stylelint-config-standard": "^25.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.5.0",
"stylelint-scss": "^4.1.0",
"terser-webpack-plugin": "^5.3.1",
"ts-node": "^10.7.0",
"typescript": "^4.6.2",
"webpack": "^5.70.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-dev-middleware": "^5.3.1",
"webpack-merge": "^5.8.0",
"webpackbar": "^5.0.2",
"yargs": "^17.3.1"
}
}