Folo/package.json

159 lines
5.1 KiB
JSON

{
"name": "Follow",
"type": "module",
"version": "0.2.0-beta.2",
"private": true,
"packageManager": "pnpm@9.12.3",
"description": "Next generation information browser",
"author": "Follow Team",
"license": "GPL-3.0-only",
"homepage": "https://github.com/RSSNext",
"repository": {
"url": "https://github.com/RSSNext/follow",
"type": "git"
},
"main": "./dist/main/index.js",
"scripts": {
"analyze:web": "npx vite-bundle-visualizer",
"build": "electron-vite build && electron-forge make",
"build:macos": "electron-vite build && electron-forge make --arch=x64 --platform=darwin && electron-forge make --arch=arm64 --platform=darwin && tsx scripts/merge-yml.ts",
"build:web": "rm -rf out/web && vite build",
"bump": "vv",
"dedupe:locales": "eslint --fix locales/**/*.json",
"depcheck": "npx depcheck --quiet",
"dev": "electron-vite dev",
"dev:debug": "export DEBUG=true && vite --debug",
"dev:server": "pnpm run --filter=server dev",
"dev:web": "vite",
"format": "prettier --write .",
"format:check": "prettier --check .",
"generator:i18n-template": "tsx scripts/generate-i18n-locale.ts",
"hotfix": "vv -c bump.hotfix.config.js",
"lint": "eslint",
"lint:fix": "eslint --fix",
"polyfill-optimize": "pnpx nolyfill install",
"prepare": "pnpm exec simple-git-hooks && shx test -f .env || shx cp .env.example .env",
"publish": "electron-vite build && electron-forge publish",
"start": "electron-vite preview",
"sync:ab": "tsx scripts/pull-ab-flags.ts",
"test": "CI=1 pnpm --recursive run test",
"typecheck": "turbo typecheck"
},
"devDependencies": {
"@babel/generator": "7.26.2",
"@clack/prompts": "0.7.0",
"@egoist/tailwindcss-icons": "1.8.1",
"@electron-forge/cli": "7.5.0",
"@electron-forge/maker-dmg": "7.5.0",
"@electron-forge/maker-squirrel": "7.5.0",
"@electron-forge/maker-zip": "7.5.0",
"@electron-forge/plugin-fuses": "7.5.0",
"@electron-forge/publisher-github": "7.5.0",
"@electron-toolkit/tsconfig": "^1.0.1",
"@fontsource/sn-pro": "5.1.0",
"@hono/node-server": "1.13.4",
"@hookform/resolvers": "3.9.1",
"@iconify-json/logos": "1.2.3",
"@iconify-json/mingcute": "1.2.1",
"@iconify-json/simple-icons": "^1.2.10",
"@iconify/tools": "4.0.7",
"@microflash/remark-callout-directives": "4.3.2",
"@mozilla/readability": "^0.5.0",
"@pengx17/electron-forge-maker-appimage": "1.2.1",
"@sentry/vite-plugin": "2.22.6",
"@t3-oss/env-core": "^0.11.1",
"@tailwindcss/container-queries": "0.1.1",
"@tailwindcss/typography": "0.5.15",
"@types/lodash-es": "4.17.12",
"@types/node": "^22.8.7",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vercel/node": "3.2.24",
"@vitejs/plugin-legacy": "5.4.3",
"@vitejs/plugin-react": "^4.3.3",
"cross-env": "7.0.3",
"cssnano": "7.0.6",
"dnum": "^2.14.0",
"dotenv": "16.4.5",
"drizzle-orm": "0.34.1",
"electron": "33.0.2",
"electron-devtools-installer": "3.2.0",
"electron-packager-languages": "0.5.0",
"electron-vite": "^2.3.0",
"eslint": "^9.14.0",
"eslint-config-hyoban": "^3.1.12",
"fake-indexeddb": "6.0.0",
"happy-dom": "15.8.0",
"hono": "4.6.8",
"js-yaml": "4.1.0",
"lint-staged": "15.2.10",
"nbump": "2.0.7",
"postcss": "8.4.47",
"postcss-js": "4.0.1",
"prettier": "3.3.3",
"raw-body": "3.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "6.0.1",
"shx": "^0.3.4",
"simple-git-hooks": "2.11.1",
"tailwindcss": "3.4.14",
"tailwindcss-animate": "1.0.7",
"tailwindcss-motion": "0.3.0-beta",
"tsup": "8.3.5",
"tsx": "4.19.2",
"turbo": "2.2.3",
"typescript": "5.6.3",
"unplugin-ast": "^0.11.0",
"vite": "^5.4.10",
"vite-plugin-mkcert": "1.17.6",
"vite-tsconfig-paths": "5.0.1",
"vitest": "2.0.5"
},
"pnpm": {
"patchedDependencies": {
"sonner@1.5.0": "patches/sonner@1.5.0.patch",
"immer@10.1.1": "patches/immer@10.1.1.patch",
"re-resizable": "patches/re-resizable@6.9.17.patch",
"hono": "patches/hono.patch",
"electron-context-menu": "patches/electron-context-menu.patch",
"@mozilla/readability": "patches/@mozilla__readability.patch",
"daisyui": "patches/daisyui.patch"
},
"overrides": {
"is-core-module": "npm:@nolyfill/is-core-module@^1",
"isarray": "npm:@nolyfill/isarray@^1"
}
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged"
},
"lint-staged": {
"*": [
"eslint --fix",
"prettier --ignore-unknown --write"
],
"locales/**/*.json": [
"npm run dedupe:locales",
"git add locales"
]
},
"bump": {
"before": [
"git pull --rebase",
"tsx scripts/apply-changelog.ts ${NEW_VERSION}",
"git add changelog/${NEW_VERSION}.md"
],
"after": [
"gh pr create --title 'chore: Release v${NEW_VERSION}' --body 'v${NEW_VERSION}' --base main --head dev"
],
"commit_message": "chore(release): release v${NEW_VERSION}",
"tag": false,
"changelog": true,
"allowed_branches": [
"dev"
]
},
"productName": "Follow"
}