irpf/package.json
Marc Reverdin 064a7e8e32 fix(irpf): résoudre les deux échecs de build VPS
1. tsx bin: utilise node_modules/.bin/tsx au lieu de npx qui nécessite
   l'accès à registry.npmjs.org (bloqué depuis le container Docker)
2. indicators.json: remplace le dynamic import Vite (résolution statique)
   par readFileSync + existsSync — le build ne plante plus si le fichier
   est absent au premier déploiement

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 00:13:45 +02:00

27 lines
No EOL
633 B
JSON

{
"name": "irpf",
"type": "module",
"version": "0.0.1",
"engines": {
"node": ">=22.12.0"
},
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro",
"fetch-data": "tsx src/scripts/fetch-indicators.ts",
"fetch-and-build": "npm run fetch-data && npm run build"
},
"dependencies": {
"@astrojs/check": "^0.9.9",
"@astrojs/mdx": "^6.0.2",
"@astrojs/sitemap": "^3.7.3",
"@tailwindcss/vite": "^4.3.0",
"astro": "^6.4.4",
"pagefind": "^1.5.2",
"tailwindcss": "^4.3.0",
"tsx": "^4.19.4",
"typescript": "^6.0.3"
}
}