-
Notifications
You must be signed in to change notification settings - Fork 45
/
package.json
147 lines (147 loc) · 5.33 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
143
144
145
146
147
{
"name": "awesome-chrome-extension-boilerplate",
"displayName": "awesome chrome extension boilerplate",
"version": "1.0.0",
"browserslist": "Chrome >= 96",
"description": "made by awesome-chrome-extension-boilerplate",
"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"
},
"engines": {
"node": "^18.12.1"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"start": "cross-env NODE_ENV=development ts-node --files ./server/start.ts",
"devtools": "pnpm start --devtools",
"build": "cross-env NODE_ENV=production ts-node --files ./server/build.ts",
"build:analyze": "pnpm build --analyze",
"test": "pnpm build",
"lint": "pnpm lint:es && pnpm lint:style",
"lint:es": "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": "5.0.1",
"dayjs": "1.11.6",
"jquery": "3.6.1",
"lodash": "4.17.21",
"normalize.css": "8.0.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-router-dom": "6.4.3",
"webextension-polyfill": "0.10.0"
},
"devDependencies": {
"@babel/core": "7.20.2",
"@babel/plugin-proposal-decorators": "7.20.2",
"@babel/plugin-transform-react-constant-elements": "7.20.2",
"@babel/plugin-transform-runtime": "7.19.6",
"@babel/preset-env": "7.20.2",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.18.6",
"@nuxt/friendly-errors-webpack-plugin": "2.5.2",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
"@swc/core": "1.3.19",
"@types/chrome": "0.0.203",
"@types/cors": "2.8.12",
"@types/express": "4.17.14",
"@types/html-minifier": "4.0.2",
"@types/html-webpack-plugin": "3.2.6",
"@types/jquery": "3.5.14",
"@types/lodash": "4.14.190",
"@types/node": "18.11.9",
"@types/react": "18.0.25",
"@types/react-dom": "18.0.9",
"@types/react-router-dom": "5.3.3",
"@types/wait-on": "5.3.1",
"@types/webextension-polyfill": "0.9.1",
"@types/webpack": "5.28.0",
"@types/webpack-bundle-analyzer": "4.6.0",
"@types/webpack-hot-middleware": "2.25.6",
"@types/webpackbar": "4.0.3",
"@types/yargs": "17.0.14",
"@yutengjing/eslint-config-react": "0.0.8",
"@yutengjing/prettier-config": "0.0.1",
"ansi-colors": "4.1.3",
"antd-dayjs-webpack-plugin": "1.0.6",
"babel-loader": "9.1.0",
"babel-plugin-import": "1.13.5",
"babel-plugin-lodash": "3.3.4",
"browserslist": "4.21.4",
"chokidar": "3.5.3",
"consola": "2.15.3",
"copy-webpack-plugin": "11.0.0",
"core-js": "3.26.1",
"cors": "2.8.5",
"cross-env": "7.0.3",
"css-loader": "6.7.2",
"css-minimizer-webpack-plugin": "4.2.2",
"eslint": "8.28.0",
"exit-hook": "2.2.1",
"express": "4.18.2",
"fork-ts-checker-webpack-plugin": "7.2.13",
"format-imports": "3.1.3",
"get-port": "5.1.1",
"html-webpack-plugin": "5.5.0",
"html-webpack-tags-plugin": "3.0.2",
"http-proxy-middleware": "2.0.6",
"husky": "8.0.2",
"less": "4.1.3",
"less-loader": "11.1.0",
"lightningcss": "1.16.1",
"lint-staged": "13.0.4",
"mini-css-extract-plugin": "2.7.0",
"open": "8.4.0",
"postcss-less": "6.0.0",
"postcss-scss": "4.0.5",
"prettier": "2.8.0",
"react-devtools": "4.26.1",
"react-refresh": "0.14.0",
"rimraf": "3.0.2",
"sass": "1.56.1",
"sass-loader": "13.2.0",
"ssestream": "1.1.0",
"stylelint": "14.15.0",
"stylelint-config-prettier": "9.0.4",
"stylelint-config-recess-order": "3.0.0",
"stylelint-config-standard": "29.0.0",
"stylelint-declaration-block-no-ignored-properties": "2.6.0",
"stylelint-scss": "4.3.0",
"terser-webpack-plugin": "5.3.6",
"ts-node": "10.9.1",
"typescript": "4.9.3",
"wait-on": "6.0.1",
"webext-bridge": "5.0.5",
"webpack": "5.75.0",
"webpack-bundle-analyzer": "4.7.0",
"webpack-dev-middleware": "6.0.0",
"webpack-hot-middleware": "2.25.3",
"webpack-merge": "5.8.0",
"webpackbar": "5.0.2",
"yargs": "17.6.2"
}
}