143 lines
4.6 KiB
JSON
143 lines
4.6 KiB
JSON
{
|
|
"name": "Follow",
|
|
"type": "module",
|
|
"version": "0.0.1-alpha.17",
|
|
"private": true,
|
|
"packageManager": "pnpm@9.11.0",
|
|
"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": "rm -rf out/web && ANALYZER=1 vite build",
|
|
"build": "electron-vite build && electron-forge make",
|
|
"build:macos": "electron-vite build && electron-forge make --arch=universal --platform=darwin",
|
|
"build:web": "rm -rf out/web && vite build",
|
|
"bump": "vv",
|
|
"dev": "electron-vite dev",
|
|
"dev:debug": "export DEBUG=true && vite --debug",
|
|
"dev:web": "vite",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"generator:i18n-template": "tsx scripts/generate-i18n-locale.ts",
|
|
"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": "pnpm -F web run test",
|
|
"typecheck": "npm run typecheck:node && npm run typecheck:web",
|
|
"typecheck:node": "pnpm -F electron-main run typecheck",
|
|
"typecheck:web": "pnpm -F web run typecheck"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/generator": "7.25.6",
|
|
"@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.1",
|
|
"@hookform/resolvers": "3.9.0",
|
|
"@iconify-json/logos": "1.2.0",
|
|
"@iconify-json/mingcute": "1.2.0",
|
|
"@iconify-json/simple-icons": "^1.2.3",
|
|
"@iconify/tools": "4.0.6",
|
|
"@microflash/remark-callout-directives": "4.3.1",
|
|
"@mozilla/readability": "^0.5.0",
|
|
"@pengx17/electron-forge-maker-appimage": "1.2.1",
|
|
"@sentry/vite-plugin": "2.22.4",
|
|
"@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.5.5",
|
|
"@types/react": "^18.3.8",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@vitejs/plugin-legacy": "5.4.2",
|
|
"@vitejs/plugin-react": "^4.3.1",
|
|
"cssnano": "7.0.6",
|
|
"dnum": "^2.13.1",
|
|
"dotenv": "16.4.5",
|
|
"drizzle-orm": "0.33.0",
|
|
"electron": "32.1.2",
|
|
"electron-devtools-installer": "3.2.0",
|
|
"electron-packager-languages": "0.5.0",
|
|
"electron-vite": "^2.3.0",
|
|
"eslint": "^9.11.0",
|
|
"eslint-config-hyoban": "^3.1.6",
|
|
"fake-indexeddb": "6.0.0",
|
|
"hono": "4.6.2",
|
|
"lint-staged": "15.2.10",
|
|
"nbump": "2.0.4",
|
|
"postcss": "8.4.47",
|
|
"postcss-js": "4.0.1",
|
|
"prettier": "3.3.3",
|
|
"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.12",
|
|
"tailwindcss-animate": "1.0.7",
|
|
"tsup": "8.3.0",
|
|
"tsx": "4.19.1",
|
|
"typescript": "^5.6.2",
|
|
"vite": "^5.4.7",
|
|
"vite-bundle-analyzer": "0.10.6",
|
|
"vite-plugin-mkcert": "1.17.6",
|
|
"vite-tsconfig-paths": "5.0.1",
|
|
"vitest": "2.0"
|
|
},
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"sonner@1.5.0": "patches/sonner@1.5.0.patch",
|
|
"immer@10.1.1": "patches/immer@10.1.1.patch",
|
|
"@mozilla/readability@0.5.0": "patches/@mozilla__readability@0.5.0.patch",
|
|
"re-resizable": "patches/re-resizable@6.9.17.patch",
|
|
"hono": "patches/hono.patch",
|
|
"electron-context-menu": "patches/electron-context-menu.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",
|
|
"*.{js,jsx,ts,tsx,json}": [
|
|
"prettier --write "
|
|
]
|
|
},
|
|
"bump": {
|
|
"before": [
|
|
"git pull --rebase"
|
|
],
|
|
"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"
|
|
}
|