-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 3.94 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 3.94 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
{
"name": "mullvad-browser-extension",
"displayName": "Mullvad Browser Extension",
"version": "0.9.11",
"description": "Improve your Mullvad VPN experience, in your browser.",
"private": true,
"type": "module",
"engines": {
"node": ">=24.14.1",
"npm": ">=11.11"
},
"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:zip pack:xpi",
"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": "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": "prettier --check . && 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",
"format": "prettier --write .",
"tsc": "vue-tsc --noEmit",
"test": "vitest run",
"test:ui": "vitest --ui",
"test:watch": "vitest test",
"test:coverage": "vitest run --coverage",
"prepare": "husky"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^10.0.1",
"@ffflorian/jszip-cli": "^3.16.4",
"@types/firefox-webext-browser": "^143.0.0",
"@types/fs-extra": "^11.0.4",
"@types/node": "^26.0.0",
"@types/webextension-polyfill": "^0.12.5",
"@vitejs/plugin-vue": "^6.0.7",
"@vitest/coverage-v8": "^4.1.9",
"@vitest/ui": "^4.1.9",
"@vue/compiler-sfc": "^3.5.38",
"@vue/test-utils": "^2.4.11",
"@vueuse/core": "^14.3.0",
"chokidar": "^5.0.0",
"cross-env": "^10.1.0",
"eslint": "^10.5.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-unused-imports": "^4.4.1",
"eslint-plugin-vue": "^10.9.2",
"esno": "^4.8.0",
"fs-extra": "^11.3.5",
"globals": "^17.7.0",
"happy-dom": "^20.10.6",
"husky": "^9.1.7",
"kolorist": "^1.8.0",
"lint-staged": "^17.0.8",
"npm-run-all": "^4.1.5",
"postcss-html": "^1.8.1",
"prettier": "^3.8.4",
"rimraf": "^6.1.3",
"stylelint": "^17.13.0",
"stylelint-config-recommended": "^18.0.0",
"stylelint-config-recommended-vue": "^1.6.1",
"stylelint-config-standard": "^40.0.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.62.0",
"unocss": "^66.7.4",
"vite": "^8.0.16",
"vitest": "^4.1.9",
"vue": "^3.5.38",
"vue-tsc": "^3.3.5",
"web-ext": "^10.4.0",
"webext-bridge": "^6.0.1",
"webextension-polyfill": "^0.12.0"
},
"dependencies": {
"ipaddr.js": "^2.4.0",
"naive-ui": "^2.44.1",
"tldts": "^7.4.3",
"uuid": "^14.0.1"
}
}