Files
localesp/package.json
T
edgar.friendly 0c5651a6c0
deploy-branch / deploy (push) Successful in 2m43s
deploy-branch / teardown (push) Skipped
fix(ci): compatibilidad con el runner self-hosted (npm 10 / Node 20)
- vitest 4 traía vite 8 anidado con esbuild 0.28: el lockfile quedaba
  incompleto para npm ci y el npm 10.8.2 del runner fallaba con
  "Missing @esbuild/* from lock file" / EBADPLATFORM. vitest 3 usa el
  vite 5 del proyecto como peer: sin árbol anidado, esbuild solo 0.21.5
- jsdom 30 exige Node >=22.22 (el runner tiene 20.20): bajado a jsdom 26
- tests.yml sobre el runner real (self-hosted, Node del sistema) en vez
  de ubuntu-latest, que no existe como label
- aserciones de max()/calc() tolerantes a la serialización de jsdom 26
2026-08-18 07:27:19 +02:00

33 lines
861 B
JSON

{
"name": "locales-espanoles",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"server": "node server/index.js",
"dev:all": "concurrently -k -n vite,api -c cyan,green \"npm run dev\" \"npm run server\"",
"test": "vitest run",
"test:watch": "vitest",
"test:integration": "vitest run --config vitest.config.integration.mjs"
},
"dependencies": {
"better-sqlite3": "^12.0.0",
"express": "^5.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@vitejs/plugin-react": "^4.2.1",
"concurrently": "^8.0.0",
"jsdom": "^26.1.0",
"supertest": "^7.2.2",
"vite": "^5.2.0",
"vitest": "^3.2.7"
}
}