-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
102 lines (102 loc) · 4.33 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
{
"name": "mullvad-browser-extension",
"displayName": "Mullvad Browser Extension",
"version": "0.9.5",
"description": "Improve your Mullvad VPN experience, in your browser.",
"private": true,
"type": "module",
"engines": {
"node": ">=18.14.2",
"npm": ">=9.5.0"
},
"scripts": {
"dev": "npm run clear && cross-env NODE_ENV=development run-p dev:*",
"dev:prepare": "esno scripts/prepare.ts",
"dev:web": "vite",
"build": "cross-env NODE_ENV=production run-s clear build:web build:prepare build:copy",
"build:prepare": "esno scripts/prepare.ts",
"build:copy": "esno scripts/copyFilesToExtensionFolder.ts",
"build:web": "vite build",
"pack": "cross-env NODE_ENV=production run-p pack:*",
"pack:crx": "crx pack extension -o ./mullvad-browser-extension-$npm_package_version.crx",
"pack:zip": "rimraf mullvad-browser-extension-$npm_package_version.zip && jszip-cli add extension -o ./mullvad-browser-extension-$npm_package_version.zip",
"pack:xpi": "cross-env WEB_EXT_ARTIFACTS_DIR=./ web-ext build --source-dir ./extension --filename mullvad-browser-extension-$npm_package_version.xpi --overwrite-dest",
"start:chromium": "web-ext run --source-dir ./extension --target=chromium",
"start": "web-ext run --source-dir ./extension --target=firefox-desktop --start-url=about:debugging#/runtime/this-firefox --start-url=mullvad.net/check",
"start:mb": "web-ext run --source-dir ./extension --firefox ~/apps/mullvad-browser/Browser/mullvadbrowser --start-url=about:debugging#/runtime/this-firefox --start-url=mullvad.net/check",
"start:firefox": "web-ext run --source-dir ./extension --firefox ~/apps/firefox/firefox --start-url=about:debugging#/runtime/this-firefox",
"restart": "web-ext run --source-dir ./extension --target=firefox-desktop --firefox-profile ~/.mozilla/firefox/9eernfyp.browser-extension-testing --keep-profile-changes --start-url=about:debugging#/runtime/this-firefox --start-url=mullvad.net/check",
"clear": "rimraf extension/dist extension/manifest.json extension/README.md extension/LICENSE.md mullvad-browser-extension* key.pem",
"lint": "npm run eslint && npm run lint:style",
"eslint": "eslint \"**/*.{ts,js,vue}\"",
"eslint:fix": "npm run eslint -- --fix",
"lint:style": "stylelint \"src/**/*.{css,scss,vue}\"",
"lint:style:fix": "npm run lint:style -- --fix",
"tsc": "vue-tsc --noEmit",
"test": "jest",
"test:update": "jest --updateSnapshot",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"prepare": "husky"
},
"devDependencies": {
"@babel/preset-env": "^7.26.9",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.20.0",
"@ffflorian/jszip-cli": "^3.8.2",
"@swc/jest": "^0.2.37",
"@types/firefox-webext-browser": "^120.0.4",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.4",
"@types/uuid": "^10.0.0",
"@types/webextension-polyfill": "^0.12.1",
"@typescript-eslint/eslint-plugin": "^8.24.0",
"@typescript-eslint/parser": "^8.24.0",
"@vitejs/plugin-vue": "^5.2.1",
"@vue/compiler-sfc": "^3.5.13",
"@vue/test-utils": "^2.4.6",
"@vue/vue3-jest": "^29.2.6",
"@vueuse/core": "^12.7.0",
"chokidar": "^4.0.3",
"cross-env": "^7.0.3",
"crx": "^5.0.1",
"eslint": "^9.20.1",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-unused-imports": "^4.1.4",
"eslint-plugin-vue": "^9.32.0",
"esno": "^4.8.0",
"fs-extra": "^11.3.0",
"globals": "^15.15.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-webextension-mock": "^4.0.0",
"kolorist": "^1.8.0",
"lint-staged": "^15.4.3",
"npm-run-all": "^4.1.5",
"postcss-html": "^1.8.0",
"prettier": "^3.5.1",
"rimraf": "^6.0.1",
"stylelint": "^16.14.1",
"stylelint-config-recommended": "^15.0.0",
"stylelint-config-recommended-vue": "^1.6.0",
"stylelint-config-standard": "^37.0.0",
"ts-jest": "^29.2.5",
"typescript": "^5.7.3",
"vite": "^6.1.0",
"vite-plugin-windicss": "^1.9.4",
"vue": "^3.5.13",
"vue-tsc": "^2.2.2",
"web-ext": "^8.4.0",
"webext-bridge": "^6.0.1",
"webextension-polyfill": "^0.12.0"
},
"dependencies": {
"ipaddr.js": "^2.2.0",
"naive-ui": "^2.41.0",
"tldts": "^6.1.77",
"uuid": "^11.0.5",
"vue-query": "^1.26.0"
}
}