-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
96 lines (96 loc) · 3.02 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
{
"name": "proton-vpn-browser-extension",
"private": true,
"scripts": {
"check": "ts-node test/check.ts",
"lint": "run-p lint:*",
"lint:js": "xo",
"lint:css": "stylelint source/**/*.scss",
"lint-fix": "run-p 'lint:* -- --fix'",
"test": "jest",
"coverage": "jest --coverage",
"build": "webpack --mode=production",
"pack": "npm run build && npm run zip",
"build-ff": "webpack --mode=production --config=webpack-ff.config.js",
"pack-ff": "npm run build-ff && npm run zip-ff",
"watch": "webpack --mode=development --watch",
"watch-ff": "webpack --mode=development --watch --config=webpack-ff.config.js",
"version": "dot-json distribution/manifest.json version $VER",
"release:cws": "webstore upload --source=distribution --auto-publish",
"release": "VER=$(daily-version) run-s build version release:*",
"repack": "node repack.js",
"crx": "crx3 distribution -o vpn-proton.me.crx",
"xpi": "web-ext build --overwrite-dest --source-dir=distribution -a . -n vpn-proton.me.xpi",
"zip": "web-ext build --overwrite-dest --source-dir=distribution -a . -n vpn-proton-chrome.zip && npm run repack -- vpn-proton-chrome.zip",
"zip-ff": "web-ext build --overwrite-dest --source-dir=distribution-ff -a . -n vpn-proton-firefox.zip && npm run repack -- vpn-proton-firefox.zip",
"zip-source": "node zip-sources.js && npm run repack -- source.zip",
"i18n": "ts-node source/js/translation/extract.ts",
"po": "ts-node source/js/translation/extract.ts po",
"locales": "ts-node source/js/translation/update-locales.ts",
"ts": "ts-node"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/preset-env": "^7.16.11",
"@jest/globals": "^29.5.0",
"@types/chrome": "^0.0.200",
"@types/firefox-webext-browser": "^94.0.1",
"@types/jest": "^29.5.1",
"archiver": "^7.0.1",
"babel-loader": "^8.2.3",
"chrome-webstore-upload-cli": "^2.0.1",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^10.2.4",
"crx3": "^1.1.3",
"css-loader": "^6.7.2",
"css-minimizer-webpack-plugin": "^4.2.2",
"daily-version": "^2.0.0",
"decompress": "^4.2.1",
"dot-json": "^1.2.2",
"eslint": "^8.9.0",
"eslint-config-xo": "^0.26.0",
"glob": "^8.1.0",
"jest": "^29.5.0",
"jest-chrome": "^0.8.0",
"mini-css-extract-plugin": "^2.7.2",
"node-html-parser": "^6.1.4",
"npm-run-all": "^4.1.5",
"sass": "^1.56.2",
"sass-loader": "^13.2.0",
"stylelint": "^14.13.0",
"stylelint-config-standard-scss": "^6.1.0",
"stylelint-config-xo": "^0.21.1",
"terser-webpack-plugin": "^5.3.1",
"ts-jest": "^29.1.0",
"ts-loader": "^9.2.6",
"ts-node": "^10.9.2",
"typescript": "^4.8.4",
"typescript-parser": "^2.6.1",
"web-ext": "^8.1.0",
"webpack": "^5.75.0",
"webpack-cli": "^4.9.2",
"xo": "^0.48.0"
},
"dependencies": {
"@sentry/browser": "^8.7.0",
"plural-forms": "^0.5.3",
"webext-options-sync": "^0.21.2",
"webextension-polyfill": "^0.4.0"
},
"overrides": {
"jest-chrome": {
"jest": "$jest"
}
},
"xo": {
"envs": [
"browser"
],
"ignores": [
"distribution"
],
"globals": [
"browser"
]
}
}