-
Notifications
You must be signed in to change notification settings - Fork 357
/
Copy pathpackage.json
160 lines (160 loc) · 5.63 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
{
"name": "browser-extension",
"version": "5.1.70",
"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",
"beta": "cross-env BUILD_ENV=beta tsx tools/bundle.ts",
"release": "cross-env BUILD_ENV=release tsx tools/bundle.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 add -D @adguard/dnr-rulesets && tsx tools/resources-mv3.ts",
"lint": "eslint --cache --max-warnings=0 --ext .jsx,.js,.tsx,.ts . && pnpm check-types",
"increment": "pnpm version patch --no-git-tag-version",
"prepare": "husky install",
"lint-staged": "lint-staged",
"check-types": "tsc --project tsconfig.with_types_mv2.json --noEmit && tsc --project tsconfig.with_types_mv3.json --noEmit",
"disclaimer": "pnpm lint | tsx tools/insert-disclaimer.js",
"copy-external": "tswebextension war Extension/web-accessible-resources",
"convert-declarative": "tsx tools/converter.ts"
},
"repository": {
"type": "git",
"url": "ssh://[email protected]:AdguardTeam/AdguardBrowserExtension.git"
},
"author": "[email protected]",
"license": "GPL-3.0",
"devDependencies": {
"@adguard/dnr-rulesets": "^2.0.20250307180115",
"@adguard/re2-wasm": "^1.2.0",
"@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/punycode": "^2.1.4",
"@types/react": "^17.0.83",
"@types/react-dom": "^17.0.25",
"@types/react-modal": "^3.16.3",
"@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/zip-webpack-plugin": "^3.0.6",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"axios": "^1.6.2",
"chalk": "^4.1.2",
"clean-webpack-plugin": "^4.0.0",
"commander": "^12.1.0",
"copy-webpack-plugin": "^12.0.2",
"cross-env": "^7.0.3",
"crx": "^5.0.1",
"css-loader": "^6.7.3",
"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-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"fake-indexeddb": "^6.0.0",
"filesize": "^10.1.2",
"form-data": "^4.0.0",
"fs-extra": "^10.1.0",
"html-webpack-plugin": "^5.6.3",
"husky": "^7.0.4",
"jsdom": "^25.0.1",
"junit-report-builder": "^5.1.1",
"lint-staged": "^13.2.1",
"lodash": "^4.17.21",
"openai": "^4.26.0",
"playwright": "1.48.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",
"sinon": "19.0.2",
"sinon-chrome": "3.0.1",
"source-map-loader": "^3.0.2",
"style-loader": "^3.3.2",
"superjson": "^2.2.1",
"swc-loader": "^0.2.3",
"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": "^2.1.8",
"wait-for-expect": "^3.0.2",
"webpack": "^5.97.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-merge": "^5.10.0",
"zip-webpack-plugin": "^4.0.3"
},
"dependencies": {
"@adguard/agtree": "3.0.1",
"@adguard/filters-downloader": "^2.2.6",
"@adguard/logger": "^1.1.1",
"@adguard/scriptlets": "^2.1.6",
"@adguard/translate": "^1.0.2",
"@adguard/tsurlfilter": "3.2.1",
"@adguard/tswebextension": "3.0.1",
"@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": "^2.29.3",
"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.0",
"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.21.4",
"zod-validation-error": "^3.4.0"
}
}