-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 4.15 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
{
"name": "@ssasy-auth/extension",
"nickname": "ssasy",
"version": "1.0.0",
"license": "MIT",
"description": "A browser extension that offers a secure and usable alternative to passwords and federated identity providers.",
"repository": "this-oliver/ssasy-ext",
"author": "[email protected]",
"scripts": {
"bridge:build": "tsc -p src/bridge/tsconfig.json",
"bridge:prepare": "esno scripts/prepare-bridge.ts",
"bridge:pack": "run-s test bridge:clear bridge:prepare bridge:build",
"bridge:release": "pnpm bridge:pack && cd src/bridge && npm publish --access public && cd ../../ && pnpm bridge:clear",
"bridge:preview": "pnpm bridge:pack && cd src/bridge && npm pack && cd ../../ && pnpm bridge:clear",
"bridge:clear": "rimraf src/bridge/lib src/bridge/node_modules src/bridge/package.json src/bridge/*-lock.*",
"build": "cross-env NODE_ENV=production run-s clear test build:web build:prepare build:js",
"build:mv3": "cross-env NODE_ENV=production MANIFEST_VERSION=3 run-s clear test build:web build:prepare build:js build:bg",
"build:prepare": "esno scripts/prepare.ts",
"build:web": "vite build",
"build:js": "vite build --config vite.config.content.ts",
"build:bg": "vite build --config vite.config.background.ts",
"bump": "npx fistbump",
"clear": "rimraf extension/dist extension/manifest.json extension.* *.tgz",
"dev": "npm run clear && cross-env NODE_ENV=development run-p 'dev:!(mv3|bg)'",
"dev:mv3": "npm run clear && cross-env NODE_ENV=development MANIFEST_VERSION=3 run-p 'dev:!(mv3)'",
"dev:prepare": "esno scripts/prepare.ts",
"dev:web": "vite",
"dev:js": "npm run build:js -- --mode development",
"dev:bg": "npm run build:bg -- --mode development",
"lint": "eslint --cache --ext .html,.vue,.js,.ts",
"lint:fix": "eslint --fix --ext .html,.vue,.js,.ts",
"pack": "cross-env NODE_ENV=production run-p pack:*",
"pack:zip": "rimraf extension.zip && jszip-cli add extension/* -o ./extension.zip",
"pack:crx": "crx pack extension -o ./extension.crx",
"pack:xpi": "cross-env WEB_EXT_ARTIFACTS_DIR=./ web-ext build --source-dir ./extension --filename extension.xpi --overwrite-dest",
"release:firefox": "pnpm build && pnpm pack && pnpm pack:zip",
"release:chromium": "pnpm build:mv3 && pnpm pack:zip",
"postinstall": "simple-git-hooks",
"start:chromium": "web-ext run --source-dir ./extension --target=chromium",
"start:firefox": "web-ext run --source-dir ./extension --target=firefox-desktop --firefox=firefoxdeveloperedition",
"test": "vitest run",
"test:watch": "vitest"
},
"dependencies": {
"@mdi/js": "^7.2.96",
"@ssasy-auth/core": "^3.0.0",
"pinia": "^2.0.33",
"vue": "^3.2.47",
"vue-router": "4",
"vue-sonner": "^0.3.1",
"vuetify": "^3.1.14"
},
"devDependencies": {
"@ffflorian/jszip-cli": "^3.1.9",
"@types/fs-extra": "^11.0.1",
"@types/node": "^18.14.6",
"@types/webextension-polyfill": "^0.10.0",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.57.0",
"@unocss/reset": "^0.50.4",
"@vitejs/plugin-vue": "^4.0.0",
"@vue/compiler-sfc": "^3.2.47",
"@vue/eslint-config-typescript": "^11.0.2",
"@vue/test-utils": "^2.3.0",
"@vueuse/core": "^9.13.0",
"chokidar": "^3.5.3",
"cross-env": "^7.0.3",
"crx": "^5.0.1",
"eslint": "^8.35.0",
"eslint-plugin-vue": "^9.10.0",
"esno": "^0.16.3",
"fist-bump": "^1.2.3",
"fs-extra": "^11.1.0",
"jsdom": "^21.1.0",
"kolorist": "^1.7.0",
"lint-staged": "^13.1.2",
"npm-run-all": "^4.1.5",
"rimraf": "^4.3.0",
"simple-git-hooks": "^2.8.1",
"typescript": "^4.9.5",
"unocss": "^0.50.4",
"unplugin-auto-import": "^0.15.1",
"unplugin-vue-components": "^0.24.0",
"vite": "^4.1.4",
"vite-plugin-pages": "^0.28.0",
"vite-plugin-vue-layouts": "^0.8.0",
"vitest": "^0.29.2",
"vue-demi": "^0.13.11",
"web-ext": "^7.5.0",
"webext-bridge": "^5.0.5",
"webextension-polyfill": "^0.10.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm test && pnpm lint-staged"
},
"lint-staged": {
"*.ts": "eslint --fix"
},
"packageManager": "[email protected]"
}