Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions entrypoints/utils/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Config } from "@/entrypoints/utils/model";
import { storage } from '@wxt-dev/storage';

// 声明 config 类型, new Config() 会设置好所有默认值
export let config: Config = new Config();
Expand Down
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
"zip:firefox": "wxt zip -b firefox",
"compile": "vue-tsc --noEmit",
"postinstall": "wxt prepare",
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
Expand All @@ -27,15 +31,21 @@
"webextension-polyfill": "^0.12.0"
},
"devDependencies": {
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.7.0",
"@types/crypto-js": "^4.2.2",
"@types/webextension-polyfill": "^0.12.1",
"@vitejs/plugin-vue": "^5.2.1",
"@vitest/ui": "^3.2.4",
"@vuepress/client": "2.0.0-rc.19",
"@wxt-dev/webextension-polyfill": "^1.0.0",
"happy-dom": "^18.0.1",
"jsdom": "^26.1.0",
"typescript": "^5.7.3",
"vite": "^5.4.11",
"vite-plugin-imagemin": "^0.6.1",
"vitepress": "^1.6.3",
"vitest": "^3.2.4",
"vue": "^3.5.13",
"vue-tsc": "^2.2.0",
"vuepress": "2.0.0-rc.19",
Expand Down
Loading