generated from antfu-collective/vitesse-webext
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.74 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
{
"name": "your-popup",
"displayName": "Your Popup",
"version": "0.0.1",
"private": true,
"packageManager": "pnpm@8.3.1",
"description": "Custom popup for your browser",
"scripts": {
"demo": "pnpm -C demo run dev",
"dev": "npm run clear && cross-env NODE_ENV=development run-p dev:*",
"dev:prepare": "tsx scripts/prepare.ts",
"dev:web": "vite",
"dev:js": "npm run build:js -- --mode development",
"build": "cross-env NODE_ENV=production run-s clear build:web build:prepare build:js",
"build:demo": "pnpm -C demo run build",
"build:prepare": "esno scripts/prepare.ts",
"build:web": "vite build",
"build:js": "vite build --config vite.config.content.ts",
"pack": "cross-env NODE_ENV=production run-p pack:*",
"pack:zip": "rimraf extension.zip && jszip-cli add extension/* -o ./your-popup.zip",
"pack:crx": "crx pack extension -o ./your-popup.crx",
"pack:xpi": "cross-env WEB_EXT_ARTIFACTS_DIR=./ web-ext build --source-dir ./extension --filename your-popup.xpi --overwrite-dest",
"release": "bumpp",
"start:chromium": "web-ext run --source-dir ./extension --target=chromium",
"start:firefox": "web-ext run --source-dir ./extension --target=firefox-desktop",
"clear": "rimraf --glob extension/dist extension/manifest.json extension.*",
"lint": "eslint --cache .",
"test": "vitest test",
"typecheck": "tsc --noEmit",
"postinstall": "simple-git-hooks"
},
"dependencies": {
"remove": "^0.1.5",
"tsno": "^2.0.0"
},
"devDependencies": {
"@antfu/eslint-config": "^0.38.5",
"@ffflorian/jszip-cli": "^3.4.1",
"@iconify-json/ri": "^1.1.8",
"@types/fs-extra": "^11.0.1",
"@types/node": "^18.16.3",
"@types/webextension-polyfill": "^0.10.0",
"@unocss/reset": "^0.51.8",
"@vitejs/plugin-vue": "^4.2.1",
"@vue/compiler-sfc": "^3.2.47",
"@vue/test-utils": "^2.3.2",
"@vueuse/core": "^10.1.2",
"bumpp": "^9.1.0",
"chokidar": "^3.5.3",
"consola": "^3.1.0",
"cross-env": "^7.0.3",
"crx": "^5.0.1",
"eslint": "^8.39.0",
"esno": "^0.16.3",
"fs-extra": "^11.1.1",
"jsdom": "^21.1.2",
"kolorist": "^1.8.0",
"lint-staged": "^13.2.2",
"npm-run-all": "^4.1.5",
"rimraf": "^5.0.0",
"simple-git-hooks": "^2.8.1",
"tsx": "^3.12.7",
"typescript": "^5.0.4",
"unocss": "^0.51.8",
"unplugin-auto-import": "^0.15.3",
"unplugin-icons": "^0.16.1",
"unplugin-vue-components": "^0.24.1",
"vite": "^4.3.4",
"vitest": "^0.31.0",
"vue": "^3.2.47",
"vue-demi": "^0.14.0",
"web-ext": "^7.6.2",
"webext-bridge": "^6.0.1",
"webextension-polyfill": "^0.10.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}