-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
108 lines (108 loc) · 3.76 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
103
104
105
106
107
108
{
"name": "newtab-naivetab",
"displayName": "NaiveTab - Newtab page",
"type": "module",
"version": "1.24.5",
"private": true,
"packageManager": "pnpm@10.3.0",
"description": "A simple and efficient browser new tab extension that allows you to highly customize your new tab page.",
"scripts": {
"dev": "npm run clear && cross-env NODE_ENV=development run-p dev:*",
"dev:prepare": "esno scripts/prepare.ts",
"dev:background": "npm run build:background -- --mode development",
"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:background",
"build:prepare": "esno scripts/prepare.ts",
"build:background": "vite build --config vite.config.background.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 ./extension.zip",
"pack:zip": "rm -f extension.zip && zip -r extension.zip extension",
"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",
"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",
"lint:fix": "eslint --fix",
"test": "vitest test",
"test:e2e": "playwright test",
"postinstall": "simple-git-hooks",
"typecheck": "tsc --noEmit",
"buildall": "pnpm run build && pnpm run pack:zip"
},
"dependencies": {
"@intlify/unplugin-vue-i18n": "^6.0.3",
"axios": "^1.7.9",
"cheerio": "1.0.0",
"crypto-js": "^4.2.0",
"dayjs": "^1.11.13",
"driver.js": "^1.3.5",
"lunar-typescript": "^1.7.7",
"naive-ui": "^2.41.0",
"vue": "^3.5.13"
},
"devDependencies": {
"@eslint/js": "^9.20.0",
"@ffflorian/jszip-cli": "^3.8.2",
"@iconify/json": "^2.2.306",
"@iconify/vue": "^4.3.0",
"@playwright/test": "^1.50.1",
"@stylistic/eslint-plugin": "^3.1.0",
"@types/chrome": "^0.0.304",
"@types/crypto-js": "^4.2.2",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.13.2",
"@types/webextension-polyfill": "^0.12.1",
"@unocss/reset": "^65.4.3",
"@vitejs/plugin-vue": "^5.2.1",
"@vue/compiler-sfc": "^3.5.13",
"@vue/test-utils": "^2.4.6",
"@vueuse/core": "^12.5.0",
"chokidar": "^4.0.3",
"cross-env": "^7.0.3",
"crx": "^5.0.1",
"eslint": "^9.20.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-vue": "^9.32.0",
"esno": "^4.8.0",
"fs-extra": "^11.3.0",
"globals": "^15.15.0",
"jsdom": "^26.0.0",
"kolorist": "^1.8.0",
"lint-staged": "^15.4.3",
"npm-run-all": "^4.1.5",
"postcss-preset-env": "^10.1.4",
"prettier": "^3.5.0",
"rimraf": "^6.0.1",
"rollup-plugin-visualizer": "^5.14.0",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.24.0",
"unocss": "^65.4.3",
"unplugin-auto-import": "^19.0.0",
"unplugin-icons": "^22.0.0",
"unplugin-vue-components": "^28.0.0",
"user-agent-data-types": "^0.4.2",
"vite": "^6.1.0",
"vite-plugin-md": "^0.21.5",
"vitest": "^3.0.5",
"vue-demi": "^0.14.10",
"vue-i18n": "^11.1.1",
"web-ext": "^8.4.0",
"webext-bridge": "^6.0.1",
"webextension-polyfill": "^0.12.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.{ts,js,vue}": [
"eslint --fix",
"git add"
]
}
}