mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
73 lines
2.6 KiB
JSON
73 lines
2.6 KiB
JSON
{
|
|
"name": "bewly-bewly",
|
|
"displayName": "BewlyBewly",
|
|
"version": "0.0.2",
|
|
"description": "Bringing you the suggested videos on the bilibili homepage",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "npm run clear && cross-env NODE_ENV=development 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: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 '{src,scripts}/**/*.{json,ts,js,vue}'",
|
|
"test": "vitest test"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^0.23.1",
|
|
"@ffflorian/jszip-cli": "^3.1.6",
|
|
"@iconify/json": "^2.1.47",
|
|
"@intlify/vite-plugin-vue-i18n": "^6.0.1",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/node": "^17.0.35",
|
|
"@types/webextension-polyfill": "^0.8.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.25.0",
|
|
"@vitejs/plugin-vue": "^2.3.3",
|
|
"@volar-plugins/vetur": "^0.1.0",
|
|
"@vue/compiler-sfc": "^3.2.35",
|
|
"@vue/test-utils": "^2.0.0",
|
|
"@vueuse/core": "^8.5.0",
|
|
"chokidar": "^3.5.3",
|
|
"cross-env": "^7.0.3",
|
|
"crx": "^5.0.1",
|
|
"eslint": "^8.16.0",
|
|
"esno": "^0.16.3",
|
|
"fs-extra": "^10.1.0",
|
|
"jsdom": "^19.0.0",
|
|
"kolorist": "^1.5.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"rimraf": "^3.0.2",
|
|
"sass": "^1.54.8",
|
|
"tsup": "^5.12.8",
|
|
"typescript": "^4.6.4",
|
|
"unplugin-auto-import": "^0.7.2",
|
|
"unplugin-icons": "^0.14.3",
|
|
"unplugin-vue-components": "^0.19.5",
|
|
"vite": "^2.9.9",
|
|
"vite-plugin-windicss": "^1.8.8",
|
|
"vitest": "^0.12.7",
|
|
"vue": "^3.2.35",
|
|
"vue-demi": "^0.12.5",
|
|
"web-ext": "^6.8.0",
|
|
"webext-bridge": "^5.0.4",
|
|
"webextension-polyfill": "^0.9.0"
|
|
},
|
|
"dependencies": {
|
|
"esbuild-darwin-64": "0.13.3",
|
|
"vue-i18n": "9",
|
|
"vue-router": "4"
|
|
}
|
|
}
|