-
Notifications
You must be signed in to change notification settings - Fork 191
/
package.json
58 lines (58 loc) · 2.53 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
{
"name": "globalspeed",
"version": "1.0.0",
"browserslist": [
"chrome >= 104",
"firefox >= 120"
],
"sideEffects": [
"./src/background/utils/*.ts",
"./src/background/badge.ts",
"./src/background/rules.ts",
"./src/background/capture.ts"
],
"scripts": {
"build:common": " rm -rf build && webpack --config webpack.config.js && cp -r static/. staticCh/. build/unpacked && find build -name '.DS_Store' -type f -delete",
"build:commonFf": "rm -rf buildFf && FIREFOX=true webpack --config webpack.config.js && cp -r static/. staticFf/. buildFf/unpacked && node tools/replaceCtx.js && find buildFf -name '.DS_Store' -type f -delete",
"build:dev": " export NODE_ENV=development && npm run build:common",
"build:devFf": " export NODE_ENV=development && npm run build:commonFf",
"build:prod": " export NODE_ENV=production && npm run build:common && node tools/minifyJson.js && cd build/unpacked && zip -r '../global-speed-chromium.zip' .",
"build:prodFf": "export NODE_ENV=production && npm run build:commonFf && cd buildFf/unpacked && zip -r '../global-speed-firefox.zip' .",
"build:prodFff": "npm run build:prodFf && rm -rf zed && mkdir -p zed/unpacked && cp -r src static staticCh staticFf tools .babelrc package-lock.json package.json postcss.config.js tsconfig.json webpack.config.js zed/unpacked && (cd zed/unpacked && zip -r ../packed.zip .) && mv zed/packed.zip buildFf/source.zip && rm -rf zed"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/plugin-transform-runtime": "^7.24.3",
"@babel/preset-env": "^7.24.5",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.24.1",
"@babel/runtime": "^7.24.5",
"@types/chrome": "^0.0.268",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.19",
"babel-loader": "^9.1.3",
"babel-polyfill": "^6.26.0",
"css-loader": "^7.1.1",
"postcss": "^8.4.38",
"postcss-loader": "^8.1.1",
"postcss-nested": "^6.0.1",
"style-loader": "^4.0.0",
"typescript": "^5.4.5",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@types/audioworklet": "^0.0.55",
"@types/lodash": "^4.17.4",
"@types/lodash.debounce": "^4.0.9",
"@types/node": "^20.12.12",
"clsx": "^2.1.1",
"immer": "^10.1.1",
"lodash.debounce": "^4.0.8",
"react": "^18.1.0",
"react-dom": "^18.3.1",
"react-icons": "^5.2.1",
"soundtouchjs": "^0.1.27"
}
}