generated from tjx666/awesome-chrome-extension-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathpackage.json
175 lines (175 loc) · 6.32 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"name": "link-map",
"displayName": "Link Map",
"version": "1.0.11",
"browserslist": "Chrome >= 96",
"description": "Vertical Tabs Sidebar, But In Tree Structure",
"author": "Garin",
"license": "AGPL-3.0",
"homepage": "https://linkmap.cc",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]:GarinZ/link-map.git"
},
"bugs": {
"url": "https://[email protected]"
},
"engines": {
"node": "^18.12.1"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"start": "cross-env NODE_ENV=development TARGET=chrome ts-node --files ./server/start.ts",
"devtools": "pnpm start --devtools",
"build": "cross-env NODE_ENV=production TARGET=chrome ts-node --files ./server/build.ts",
"build-edge": "cross-env NODE_ENV=production TARGET=edge 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",
"test-ext": "jest --config ./jest.config.js",
"package": "./build-target.sh"
},
"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",
"firebase": "9.17.1",
"firebaseui": "6.0.2",
"lodash": "4.17.21",
"loglevel": "1.8.1",
"mousetrap": "1.6.5",
"mustache": "4.2.0",
"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-class-properties": "7.18.6",
"@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",
"@babel/runtime": "7.20.6",
"@garinz/webext-bridge": "5.0.6",
"@nuxt/friendly-errors-webpack-plugin": "2.5.2",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
"@reduxjs/toolkit": "1.9.2",
"@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/jest": "29.2.5",
"@types/jquery": "3.5.14",
"@types/jquery.contextmenu": "1.7.35",
"@types/jqueryui": "1.12.16",
"@types/lodash": "4.14.190",
"@types/mousetrap": "1.6.11",
"@types/mustache": "4.2.2",
"@types/node": "18.11.9",
"@types/react": "18.0.25",
"@types/react-dom": "18.0.9",
"@types/react-router-dom": "5.3.3",
"@types/sinon-chrome": "2.2.11",
"@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/wicg-file-system-access": "2020.9.5",
"@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-jest": "29.3.1",
"babel-loader": "9.1.0",
"babel-plugin-import": "1.13.5",
"babel-plugin-lodash": "3.3.4",
"babel-plugin-transform-es2015-modules-commonjs": "6.26.2",
"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",
"dexie": "3.2.3",
"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",
"identity-obj-proxy": "3.0.0",
"jest": "29.3.1",
"jest-environment-jsdom": "29.3.1",
"jquery": "3.6.3",
"jquery-contextmenu": "2.9.2",
"jquery.fancytree": "2.38.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-redux": "8.0.5",
"react-refresh": "0.14.0",
"rimraf": "3.0.2",
"sass": "1.56.1",
"sass-loader": "13.2.0",
"sinon-chrome": "3.0.1",
"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",
"type-fest": "0.20.2",
"typescript": "4.9.3",
"wait-on": "6.0.1",
"webpack": "5.76.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"
}
}