mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
80 lines
2.9 KiB
JSON
80 lines
2.9 KiB
JSON
{
|
|
"name": "bewly-bewly",
|
|
"displayName": "BewlyBewly",
|
|
"version": "0.8.0",
|
|
"private": true,
|
|
"packageManager": "pnpm@7.8.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 && 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 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:crx": "crx pack extension -o ./extension.crx",
|
|
"pack:xpi": "cross-env WEB_EXT_ARTIFACTS_DIR=./ FIREFOX=true 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 extension extension.*",
|
|
"lint": "eslint .",
|
|
"test": "vitest test"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^0.39.7",
|
|
"@ffflorian/jszip-cli": "^3.4.1",
|
|
"@iconify/json": "^2.2.97",
|
|
"@intlify/unplugin-vue-i18n": "^0.8.2",
|
|
"@rollup/plugin-replace": "^5.0.2",
|
|
"@types/dplayer": "^1.25.2",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/node": "^18.17.1",
|
|
"@types/webextension-polyfill": "^0.9.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
"@unocss/reset": "^0.54.1",
|
|
"@vitejs/plugin-vue": "^3.2.0",
|
|
"@vue/compiler-sfc": "^3.3.4",
|
|
"@vue/test-utils": "^2.4.1",
|
|
"@vueuse/core": "^10.3.0",
|
|
"chokidar": "^3.5.3",
|
|
"cross-env": "^7.0.3",
|
|
"crx": "^5.0.1",
|
|
"eslint": "^8.46.0",
|
|
"esno": "^0.16.3",
|
|
"fs-extra": "^10.1.0",
|
|
"jsdom": "^20.0.3",
|
|
"kolorist": "^1.8.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"rimraf": "^3.0.2",
|
|
"sass": "^1.64.2",
|
|
"terser": "^5.19.2",
|
|
"tsup": "^6.7.0",
|
|
"typescript": "^4.9.5",
|
|
"unocss": "^0.54.1",
|
|
"unplugin-auto-import": "^0.11.5",
|
|
"unplugin-icons": "^0.14.15",
|
|
"unplugin-vue-components": "^0.22.12",
|
|
"vite": "^3.2.7",
|
|
"vitest": "^0.24.5",
|
|
"vue": "^3.3.4",
|
|
"vue-demi": "^0.13.11",
|
|
"web-ext": "^7.6.2",
|
|
"webext-bridge": "^5.0.5",
|
|
"webextension-polyfill": "^0.10.0"
|
|
},
|
|
"dependencies": {
|
|
"dplayer": "^1.27.1",
|
|
"mitt": "^3.0.1",
|
|
"vue-i18n": "^9.2.2"
|
|
}
|
|
}
|