diff --git a/package.json b/package.json index 67caea55..7c91f111 100644 --- a/package.json +++ b/package.json @@ -4,25 +4,36 @@ "version": "2.1.0", "description": "__MSG_extensionDescription__", "author": "DIYgod", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/DIYgod/RSSHub-Radar.git" + }, + "homepage": "https://github.com/DIYgod/RSSHub-Radar#readme", + "bugs": { + "url": "https://github.com/DIYgod/RSSHub-Radar/issues" + }, "packageManager": "pnpm@9.12.3", "scripts": { "dev": "plasmo dev --no-cs-reload", - "build": "plasmo build", "dev:firefox": "plasmo dev --target=firefox-mv3 --no-cs-reload", + "build": "plasmo build", "build:firefox": "plasmo build --target=firefox-mv3", "build:safari": "plasmo build --target=safari-mv3", "safari-convert": "xcrun safari-web-extension-converter build/safari-mv3-prod --project-location build --bundle-identifier app.rsshub.RSSHub-Radar --force", "safari-zip": "zip -r build/safari-mv3-prod.zip \"build/RSSHub Radar\"", "build:safari:zip": "npm run build:safari && npm run safari-convert && npm run safari-zip", "package": "plasmo package", - "prepare": "husky install" + "prepare": "husky install", + "lint": "prettier --check .", + "format": "prettier --write ." }, "dependencies": { "@iconify-json/mingcute": "^1.2.3", "@plasmohq/messaging": "^0.6.2", "@plasmohq/storage": "^1.13.0", "@radix-ui/react-accordion": "^1.2.3", - "@radix-ui/react-dialog": "1.1.6", + "@radix-ui/react-dialog": "^1.1.6", "@radix-ui/react-label": "^2.1.2", "@radix-ui/react-slot": "^1.1.2", "@radix-ui/react-switch": "^1.1.3", @@ -30,39 +41,39 @@ "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "foxact": "^0.2.44", - "he": "1.2.0", + "he": "^1.2.0", "lodash": "^4.17.21", "lucide-react": "^0.475.0", "md5.js": "^1.3.5", - "plasmo": "0.89.4", - "react": "18.3.1", - "react-dom": "18.3.1", + "plasmo": "^0.89.4", + "react": "^18.3.1", + "react-dom": "^18.3.1", "react-hot-toast": "^2.5.1", "react-router": "^7.1.5", "route-recognizer": "^0.3.4", - "rss-parser": "3.13.0", + "rss-parser": "^3.13.0", "tailwind-merge": "^2.5.3", "tailwindcss-animate": "^1.0.7", "tldts": "^6.1.76", "usehooks-ts": "^3.1.1", - "xss": "1.0.15" + "xss": "^1.0.15" }, "devDependencies": { "@egoist/tailwindcss-icons": "^1.9.0", - "@ianvs/prettier-plugin-sort-imports": "4.4.1", + "@ianvs/prettier-plugin-sort-imports": "^4.4.1", "@types/chrome": "^0.0.303", - "@types/node": "22.13.1", - "@types/react": "18.3.11", - "@types/react-dom": "18.3.1", + "@types/node": "^22.13.1", + "@types/react": "^18.3.11", + "@types/react-dom": "^18.3.1", "autoprefixer": "^10.4.20", - "husky": "9.1.7", - "lint-staged": "15.4.3", + "husky": "^9.1.7", + "lint-staged": "^15.4.3", "postcss": "^8.4.47", - "prettier": "3.4.2", - "prettier-package-json": "2.8.0", + "prettier": "^3.4.2", + "prettier-package-json": "^2.8.0", "shadcn-ui": "^0.9.4", "tailwindcss": "^3.4.13", - "typescript": "5.7.3" + "typescript": "^5.7.3" }, "lint-staged": { "**/*": "prettier --write --ignore-unknown"