mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
97 lines
3.5 KiB
JSON
97 lines
3.5 KiB
JSON
{
|
|
"name": "bewly-bewly",
|
|
"displayName": "BewlyBewly",
|
|
"type": "module",
|
|
"version": "0.18.4",
|
|
"private": true,
|
|
"packageManager": "pnpm@9.1.0",
|
|
"description": "Just make a few small changes to your Bilibili homepage.",
|
|
"homepage": "https://github.com/hakadao/BewlyBewly",
|
|
"scripts": {
|
|
"dev": "npm run clear && cross-env NODE_ENV=development run-p dev:*",
|
|
"dev-firefox": "npm run clear-firefox && cross-env NODE_ENV=development FIREFOX=true run-p dev:*",
|
|
"dev:prepare": "esno scripts/prepare.ts",
|
|
"dev:web": "vite",
|
|
"dev:js": "npm run build:js -- --mode development",
|
|
"dev:bg": "tsup --watch ./src",
|
|
"build": "cross-env NODE_ENV=production run-s clear build:web build:prepare build:js build:bg",
|
|
"build-firefox": "cross-env NODE_ENV=production FIREFOX=true run-s clear-firefox 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": "tsup",
|
|
"pack": "cross-env NODE_ENV=production run-p pack:*",
|
|
"pack:zip": "rimraf extension.zip && jszip-cli add extension/* -o ./extension.zip",
|
|
"pack:zip-firefox": "rimraf extension-firefox.zip && jszip-cli add extension-firefox/* -o ./extension-firefox.zip",
|
|
"pack:crx": "crx pack extension -o ./extension.crx",
|
|
"pack:xpi": "cross-env WEB_EXT_ARTIFACTS_DIR=./ FIREFOX=true web-ext build --source-dir ./extension-firefox --filename extension.xpi --overwrite-dest",
|
|
"start:chromium": "web-ext run --source-dir ./extension --target=chromium",
|
|
"start:firefox": "web-ext run --source-dir ./extension-firefox --target=firefox-desktop",
|
|
"clear": "rimraf --glob extension extension.*",
|
|
"clear-firefox": "rimraf --glob extension-firefox extension-firefox.*",
|
|
"lint": "eslint",
|
|
"lint:fix": "eslint --fix",
|
|
"test": "vitest test",
|
|
"typecheck": "vue-tsc",
|
|
"postinstall": "npx simple-git-hooks",
|
|
"knip": "knip"
|
|
},
|
|
"dependencies": {
|
|
"@types/md5": "^2.3.5",
|
|
"md5": "^2.3.0",
|
|
"mitt": "^3.0.1",
|
|
"overlayscrollbars": "^2.8.0",
|
|
"overlayscrollbars-vue": "^0.5.9",
|
|
"pinia": "^2.1.7",
|
|
"qrcode.vue": "^3.4.1",
|
|
"vue-i18n": "^9.13.1",
|
|
"vue-toastification": "2.0.0-rc.5",
|
|
"vuedraggable": "^4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^2.17.0",
|
|
"@ffflorian/jszip-cli": "^3.6.3",
|
|
"@iconify/json": "^2.2.208",
|
|
"@intlify/unplugin-vue-i18n": "^4.0.0",
|
|
"@rollup/plugin-replace": "^5.0.5",
|
|
"@types/fs-extra": "^11.0.4",
|
|
"@types/node": "^20.12.11",
|
|
"@types/webextension-polyfill": "^0.10.7",
|
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
"@vueuse/core": "^10.9.0",
|
|
"chokidar": "^3.6.0",
|
|
"cross-env": "^7.0.3",
|
|
"crx": "^5.0.1",
|
|
"eslint": "^9.2.0",
|
|
"esno": "^4.7.0",
|
|
"fs-extra": "^11.2.0",
|
|
"jsdom": "^24.0.0",
|
|
"knip": "^5.14.0",
|
|
"kolorist": "^1.8.0",
|
|
"lint-staged": "^15.2.2",
|
|
"npm-run-all": "^4.1.5",
|
|
"rimraf": "^5.0.5",
|
|
"sass": "^1.77.0",
|
|
"simple-git-hooks": "^2.11.1",
|
|
"terser": "^5.31.0",
|
|
"tsup": "^8.0.2",
|
|
"typescript": "^5.4.5",
|
|
"unocss": "0.59.4",
|
|
"unplugin-auto-import": "^0.17.5",
|
|
"vite": "^5.2.11",
|
|
"vitest": "^1.6.0",
|
|
"vue": "^3.4.27",
|
|
"vue-tsc": "^2.0.16",
|
|
"web-ext": "^7.11.0",
|
|
"webext-bridge": "5.0.5",
|
|
"webextension-polyfill": "^0.11.0",
|
|
"wxt": "^0.18.2"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*": "eslint --fix"
|
|
}
|
|
}
|