mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
66 lines
2.4 KiB
JSON
66 lines
2.4 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",
|
|
"build": "cross-env NODE_ENV=production run-s clear build:web build:prepare build:js",
|
|
"build:prepare": "esno scripts/prepare.ts",
|
|
"build:web": "vite build",
|
|
"build:js": "vite build --config vite.config.content.ts",
|
|
"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/dist extension/manifest.json extension.*",
|
|
"lint": "eslint 'src/**/*.{json,ts,js,vue}'"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^0.9.0",
|
|
"@ffflorian/jszip-cli": "^3.1.5",
|
|
"@iconify/json": "^1.1.408",
|
|
"@intlify/vite-plugin-vue-i18n": "^3.4.0",
|
|
"@types/chrome": "^0.0.179",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/node": "^16.10.2",
|
|
"@types/webextension-polyfill": "^0.8.2",
|
|
"@typescript-eslint/eslint-plugin": "^4.32.0",
|
|
"@vitejs/plugin-vue": "^1.9.2",
|
|
"@vue/compiler-sfc": "^3.2.19",
|
|
"@vueuse/core": "^7.5.1",
|
|
"chokidar": "^3.5.2",
|
|
"cross-env": "^7.0.3",
|
|
"crx": "^5.0.1",
|
|
"eslint": "^7.32.0",
|
|
"esno": "^0.10.0",
|
|
"fs-extra": "^10.0.0",
|
|
"kolorist": "^1.5.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"rimraf": "^3.0.2",
|
|
"sass": "^1.49.9",
|
|
"typescript": "^4.4.3",
|
|
"unplugin-auto-import": "^0.5.11",
|
|
"unplugin-icons": "^0.11.4",
|
|
"unplugin-vue-components": "^0.15.4",
|
|
"vite": "^2.6.2",
|
|
"vite-plugin-windicss": "^1.4.8",
|
|
"vue": "^3.2.19",
|
|
"vue-demi": "^0.11.4",
|
|
"web-ext": "^6.4.0",
|
|
"webext-bridge": "^5.0.0",
|
|
"webextension-polyfill": "^0.8.0"
|
|
},
|
|
"dependencies": {
|
|
"esbuild-darwin-64": "0.13.3",
|
|
"vue-i18n": "9",
|
|
"vue-router": "4"
|
|
}
|
|
}
|