-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
41 lines (41 loc) · 1.54 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
{
"type": "module",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
"lint": "eslint .",
"dev": "npm run clear && npm run copy-extension-dir && NODE_ENV=development run-p dev:options dev:content dev:popup dev:background",
"build": "npm run clear && npm run build:options && npm run build:content && npm run build:popup && npm run build:background && npm run copy-extension-dir",
"zip": "npm run build && 7z a extension.zip ./dist/*",
"dev:options": "npm run build:options -- -w",
"dev:popup": "npm run build:popup -- -w",
"dev:content": "npm run build:content -- -w",
"dev:background": "npm run build:background -- -w",
"build:options": "vite build -c vite.config.options.ts",
"build:popup": "vite build -c vite.config.popup.ts",
"build:content": "vite build -c vite.config.content.ts",
"build:background": "vite build -c vite.config.background.ts",
"clear": "rimraf ./dist",
"copy-extension-dir": "cp -r ./extension/. ./dist"
},
"devDependencies": {
"@antfu/eslint-config": "^3.11.2",
"@iconify-json/mdi": "^1.2.1",
"@types/chrome": "^0.0.287",
"@types/color": "^4.2.0",
"@types/node": "^22.10.1",
"@unocss/eslint-config": "^0.65.1",
"@unocss/reset": "^0.65.1",
"@vitejs/plugin-vue": "^5.2.1",
"color": "^4.2.3",
"eslint": "^9.16.0",
"npm-run-all": "^4.1.5",
"rimraf": "^6.0.1",
"super-tiny-icons": "^0.6.0",
"typescript": "^5.7.2",
"unocss": "^0.65.1",
"vite": "^6.0.3",
"vue": "^3.5.13",
"vue-tsc": "^2.1.10"
}
}