forked from AdguardTeam/AdGuardVPNExtension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
146 lines (146 loc) · 5.79 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
{
"name": "adguard-vpn",
"version": "1.2.20",
"description": "AdGuard VPN",
"author": "[email protected]",
"license": "LGPL-3.0",
"scripts": {
"watch": "BUILD_ENV=dev run-p \"build:chrome --watch\" \"build:firefox --watch\"",
"watch:firefox": "BUILD_ENV=dev yarn build:firefox --watch",
"watch:chrome": "BUILD_ENV=dev yarn build:chrome --watch",
"dev": "BUILD_ENV=dev run-p build:*",
"beta": "BUILD_ENV=beta run-p build:*",
"release": "BUILD_ENV=release run-p build:*",
"build:firefox": "BROWSER=firefox webpack --config tasks/firefox/webpack.firefox.js",
"build:chrome": "BROWSER=chrome webpack --config tasks/chrome/webpack.chrome.js",
"build:edge": "BROWSER=edge webpack --config tasks/edge/webpack.edge.js",
"build:opera": "BROWSER=opera webpack --config tasks/opera/webpack.opera.js",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx; tsc --project tsconfig.eslint.json --noEmit ",
"test": "jest",
"test:watch": "jest --watch",
"locales:download": "babel-node tasks/translations download",
"locales:upload": "babel-node tasks/translations upload",
"locales:validate": "babel-node tasks/translations validate",
"locales:info": "babel-node tasks/translations info",
"compile-proto": "./tasks/compile-protobuf.sh",
"increment": "yarn version --patch --no-git-tag-version",
"crx:beta": "export BUILD_ENV=beta; yarn build:chrome && node tasks/crx.js",
"xpi:beta": "export BUILD_ENV=beta; yarn build:firefox && node tasks/xpi.js",
"crx:release": "export BUILD_ENV=release; yarn build:chrome && node tasks/crx.js",
"xpi:release": "export BUILD_ENV=release; yarn build:firefox && node tasks/xpi.js",
"artifacts:beta": "yarn crx:beta && yarn xpi:beta",
"artifacts:release": "yarn crx:release && yarn xpi:release",
"resources": "ts-node tasks/resources"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint",
"pre-push": "yarn test"
}
},
"devDependencies": {
"@babel/cli": "^7.12.0",
"@babel/core": "^7.12.0",
"@babel/node": "^7.14.9",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-proposal-export-default-from": "^7.10.4",
"@babel/plugin-proposal-export-namespace-from": "^7.12.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.0",
"@babel/plugin-proposal-optional-chaining": "^7.12.0",
"@babel/plugin-transform-runtime": "^7.12.0",
"@babel/preset-env": "^7.12.0",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.16.0",
"@babel/register": "^7.12.0",
"@testing-library/jest-dom": "^5.15.1",
"@types/classnames": "^2.3.1",
"@types/crypto-js": "^4.1.1",
"@types/file-saver": "^2.0.4",
"@types/jest": "^26.0.24",
"@types/lodash": "^4.14.178",
"@types/node": "^16.11.11",
"@types/qs": "^6.9.7",
"@types/react": "^17.0.34",
"@types/react-html-parser": "^2.0.2",
"@types/react-modal": "^3.13.1",
"@types/webextension-polyfill": "^0.8.2",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"axios": "^0.20.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"cache-loader": "^4.1.0",
"chalk": "^4.1.0",
"clean-webpack-plugin": "^3.0.0",
"commander": "^6.1.0",
"copy-webpack-plugin": "^6.2.1",
"create-file-webpack": "^1.0.2",
"crx": "^5.0.1",
"css-loader": "^5.0.0",
"dotenv": "^8.2.0",
"eslint": "^8.3.0",
"eslint-config-airbnb": "^19.0.1",
"eslint-config-airbnb-typescript": "^16.0.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0",
"file-loader": "^6.1.1",
"form-data": "^3.0.0",
"html-webpack-plugin": "^4.5.0",
"husky": "^4.3.0",
"jest": "^26.6.3",
"loader-utils": "^2.0.0",
"node-fetch": "^2.6.1",
"npm-run-all": "^4.1.5",
"pac-resolver": "^5.0.0",
"postcss": "^8.4.12",
"postcss-import": "^12.0.1",
"postcss-loader": "^4.0.4",
"postcss-nested": "^5.0.1",
"postcss-preset-env": "^6.7.0",
"postcss-svg": "^3.0.0",
"schema-utils": "^3.0.0",
"sinon-chrome": "^3.0.1",
"style-loader": "^2.0.0",
"tmp-promise": "^3.0.2",
"ts-node": "^10.4.0",
"typescript": "^4.5.4",
"web-ext": "^6.6.0",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12",
"webpack-merge": "^5.2.0",
"ws": "^7.3.1",
"zip-webpack-plugin": "^3.0.0"
},
"dependencies": {
"@adguard/translate": "^0.2.1",
"@babel/runtime": "^7.12.0",
"@xstate/react": "^1.1.0",
"classnames": "^2.3.1",
"crypto-js": "^4.0.0",
"date-fns": "^2.17.0",
"file-saver": "^2.0.5",
"ipaddr.js": "^1.9.1",
"is-ip": "^4.0.0",
"jszip": "^3.5.0",
"lodash": "^4.17.20",
"mobx": "^5.15.7",
"mobx-react": "^6.3.1",
"nanoid": "^3.1.12",
"prop-types": "^15.7.2",
"protobufjs": "^6.10.1",
"punycode": "^2.1.1",
"qs": "^6.9.4",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-html-parser": "^2.0.2",
"react-modal": "^3.11.2",
"react-router-dom": "^5.2.0",
"react-transition-group": "^4.4.1",
"tldts": "^5.6.59",
"webextension-polyfill": "^0.8.0",
"xstate": "^4.13.0"
}
}