-
Notifications
You must be signed in to change notification settings - Fork 413
Expand file tree
/
Copy pathpackage.json
More file actions
178 lines (178 loc) · 7.1 KB
/
package.json
File metadata and controls
178 lines (178 loc) · 7.1 KB
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
176
177
178
{
"name": "browser-extension",
"version": "5.3.1+7.build.20260317170111",
"description": "AdGuard Extension",
"type": "module",
"scripts": {
"dev": "cross-env BUILD_ENV=dev tsx tools/bundle.ts",
"dev:watch": "cross-env BUILD_ENV=dev tsx watch tools/bundle.ts chrome",
"dev:watch:ff": "cross-env BUILD_ENV=dev tsx watch tools/bundle.ts firefox-amo",
"beta": "cross-env BUILD_ENV=beta tsx tools/bundle.ts",
"release": "cross-env BUILD_ENV=release tsx tools/bundle.ts",
"check-bundle-size": "tsx tools/bundle-size/check.ts",
"update-bundle-size": "tsx tools/bundle-size/update.ts",
"adguard-api": "cross-env BUILD_ENV=dev tsx tools/bundle.ts adguard-api",
"test": "vitest run",
"test:mv2": "vitest run --project mv2",
"test:mv3": "vitest run --project mv3",
"test:ci": "pnpm run test:mv2 --reporter default --reporter junit --outputFile=./tests-reports/unit-tests-mv2.xml && pnpm run test:mv3 --reporter default --reporter junit --outputFile=./tests-reports/unit-tests-mv3.xml",
"test:integration": "rimraf tmp && mkdir -p tests-reports && tsx tools/browser-test/index.ts",
"locales": "tsx tools/locales.js",
"resources": "tsx tools/resources.ts",
"resources:mv3": "pnpm remove @adguard/dnr-rulesets && pnpm add -D @adguard/dnr-rulesets@~4.1 && tsx tools/resources-mv3.ts",
"resources:mv3:extract-unsafe-rules": "pnpm exec dnr-rulesets exclude-unsafe-rules ./Extension/filters/chromium-mv3/declarative",
"resources:blocking-pages": "tsx tools/resources/download-blocking-pages.ts",
"lint:code": "eslint --cache --max-warnings=0 --ext .jsx,.js,.cjs,.mjs,.tsx,.ts .",
"lint": "pnpm lint:code && pnpm lint:types",
"increment": "tsx tools/increment.ts",
"prepare": "husky install",
"lint-staged": "lint-staged",
"check-types": "pnpm lint:types",
"lint:types": "pnpm lint:types:mv2 && pnpm lint:types:mv3",
"lint:types:mv2": "tsc --project tsconfig.mv2.json --noEmit",
"lint:types:mv3": "tsc --project tsconfig.mv3.json --noEmit",
"disclaimer": "pnpm lint | tsx tools/insert-disclaimer.js",
"debug-filters": "tsx tools/debug-filters.ts",
"debug-filters:load": "pnpm debug-filters load",
"debug-filters:convert": "pnpm debug-filters convert",
"debug-filters:watch": "pnpm debug-filters watch",
"debug-filters:extract": "pnpm debug-filters extract"
},
"repository": {
"type": "git",
"url": "ssh://[email protected]:AdguardTeam/AdguardBrowserExtension.git"
},
"author": "Adguard Software Ltd <[email protected]>",
"license": "GPL-3.0",
"devDependencies": {
"@adguard/dnr-rulesets": "~4.1",
"@adguard/eslint-plugin-logger-context": "^1.0.1",
"@adguard/re2-wasm": "1.2.0",
"@rspack/cli": "^1.6.6",
"@rspack/core": "^1.6.6",
"@types/archiver": "^6.0.3",
"@types/c3": "^0.7.11",
"@types/chrome": "0.0.268",
"@types/crypto-js": "4.1.1",
"@types/css.escape": "1.5.0",
"@types/fs-extra": "11.0.4",
"@types/lodash-es": "4.17.11",
"@types/node-forge": "1.3.11",
"@types/punycode": "2.1.4",
"@types/react": "17.0.83",
"@types/react-dom": "17.0.25",
"@types/react-modal": "3.16.3",
"@types/semver": "^7.7.1",
"@types/sinon": "17.0.3",
"@types/sinon-chrome": "2.2.15",
"@types/ua-parser-js": "0.7.37",
"@types/unzipper": "0.10.10",
"@types/webextension-polyfill": "0.12.1",
"@types/webpack-bundle-analyzer": "^4.7.0",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"archiver": "^7.0.1",
"axios": "1.6.2",
"chalk": "4.1.2",
"commander": "12.1.0",
"cross-env": "7.0.3",
"crx": "5.0.1",
"css-loader": "7.1.2",
"css.escape": "1.5.1",
"dotenv": "16.4.1",
"escape-string-regexp": "4.0.0",
"eslint": "8.57.1",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "18.0.0",
"eslint-import-resolver-typescript": "3.5.5",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-import-newlines": "1.3.1",
"eslint-plugin-jsdoc": "50.3.0",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-notice": "^1.0.0",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"fake-indexeddb": "6.0.0",
"fast-deep-equal": "^3.1.3",
"form-data": "4.0.0",
"fs-extra": "10.1.0",
"husky": "7.0.4",
"jsdom": "25.0.1",
"junit-report-builder": "5.1.1",
"lint-staged": "13.2.1",
"lodash": "4.17.21",
"node-forge": "1.3.1",
"openai": "4.26.0",
"playwright": "1.53.2",
"postcss": "8.4.49",
"postcss-loader": "8.1.1",
"postcss-nested": "7.0.2",
"postcss-preset-env": "10.1.2",
"postcss-svg": "3.0.0",
"preprocess-loader": "0.3.0",
"rimraf": "5.0.10",
"semver": "^7.7.2",
"sinon": "19.0.2",
"sinon-chrome": "3.0.1",
"source-map-loader": "^5.0.0",
"style-loader": "4.0.0",
"superjson": "2.2.1",
"terser": "5.37.0",
"ts-node": "10.9.1",
"tsx": "4.19.2",
"typescript": "5.6.3",
"unzipper": "0.12.3",
"vite-tsconfig-paths": "5.1.4",
"vitest": "4.0.15",
"wait-for-expect": "3.0.2",
"webpack-bundle-analyzer": "^5.0.1",
"webpack-merge": "^6.0.1"
},
"dependencies": {
"@adguard/agtree": "4.0.1",
"@adguard/filters-downloader": "2.4.2",
"@adguard/logger": "^2.0.0",
"@adguard/scriptlets": "2.2.16",
"@adguard/text-encoding": "^0.8.3",
"@adguard/translate": "1.0.2",
"@adguard/tsurlfilter": "4.0.2",
"@adguard/tswebextension": "4.0.3",
"@date-fns/utc": "^2.1.0",
"@xstate/react": "4.1.3",
"ace-builds": "1.17.0",
"assert": "2.0.0",
"buffer": "6.0.3",
"c3": "0.4.15",
"classnames": "2.3.2",
"core-js": "3.40.0",
"crypto-browserify": "3.12.0",
"crypto-js": "4.2.0",
"date-fns": "^4.1.0",
"idb": "8.0.2",
"js-beautify": "1.14.7",
"lodash-es": "4.17.21",
"lru-cache": "11.0.2",
"mobx": "6.9.0",
"mobx-react": "7.6.0",
"nanobar": "0.4.2",
"nanoid": "3.3.6",
"prop-types": "15.8.1",
"punycode": "2.3.1",
"react": "17.0.2",
"react-ace": "10.1.0",
"react-dom": "17.0.2",
"react-modal": "3.16.1",
"react-resize-detector": "6.7.8",
"react-router-dom": "6.28.1",
"react-virtualized-auto-sizer": "1.0.14",
"react-window": "1.8.8",
"stream-browserify": "3.0.0",
"tldts": "5.7.112",
"ua-parser-js": "1.0.36",
"vm-browserify": "1.1.2",
"webextension-polyfill": "0.12.0",
"xstate": "5.19.0",
"zod": "3.24.4",
"zod-validation-error": "3.4.0"
}
}