mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
79 lines
2.9 KiB
JSON
79 lines
2.9 KiB
JSON
{
|
|
"name": "bewly-bewly",
|
|
"displayName": "BewlyBewly",
|
|
"version": "0.1.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=./ 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.27.0",
|
|
"@ffflorian/jszip-cli": "^3.1.6",
|
|
"@iconify/json": "^2.1.119",
|
|
"@intlify/unplugin-vue-i18n": "^0.8.1",
|
|
"@rollup/plugin-replace": "^5.0.1",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/node": "^18.8.3",
|
|
"@types/webextension-polyfill": "^0.9.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.39.0",
|
|
"@unocss/preset-uno": "^0.48.2",
|
|
"@unocss/reset": "^0.45.29",
|
|
"@unocss/transformer-directives": "^0.48.2",
|
|
"@vitejs/plugin-vue": "^3.1.2",
|
|
"@vue/compiler-sfc": "^3.2.40",
|
|
"@vue/test-utils": "^2.1.0",
|
|
"@vueuse/core": "^9.3.0",
|
|
"chokidar": "^3.5.3",
|
|
"cross-env": "^7.0.3",
|
|
"crx": "^5.0.1",
|
|
"eslint": "^8.25.0",
|
|
"esno": "^0.16.3",
|
|
"fs-extra": "^10.1.0",
|
|
"jsdom": "^20.0.1",
|
|
"kolorist": "^1.6.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"rimraf": "^3.0.2",
|
|
"sass": "^1.57.1",
|
|
"terser": "^5.16.1",
|
|
"tsup": "^6.5.0",
|
|
"typescript": "^4.8.4",
|
|
"unocss": "^0.45.29",
|
|
"unplugin-auto-import": "^0.11.2",
|
|
"unplugin-icons": "^0.14.11",
|
|
"unplugin-vue-components": "^0.22.8",
|
|
"vite": "^3.1.6",
|
|
"vitest": "^0.24.0",
|
|
"vue": "^3.2.40",
|
|
"vue-demi": "^0.13.11",
|
|
"web-ext": "^7.2.0",
|
|
"webext-bridge": "^5.0.5",
|
|
"webextension-polyfill": "^0.10.0"
|
|
},
|
|
"dependencies": {
|
|
"vue-i18n": "^9.2.2"
|
|
}
|
|
}
|