Files
Filamenteka/package.json
DaX 2baac7be9f Add build testing and pre-commit hooks
- Add test-build.js script to verify standalone build locally
- Add pre-commit hook with security, build, and test checks
- Copy required-server-files.json to root of standalone for Amplify
- Add husky for automatic pre-commit validation

This ensures we test builds locally before pushing
2025-06-19 01:03:47 +02:00

47 lines
1.2 KiB
JSON

{
"name": "filamenteka",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"test": "jest",
"test:watch": "jest --watch",
"security:check": "node scripts/security-check.js",
"test:build": "node scripts/test-build.js",
"prepare": "husky"
},
"dependencies": {
"@types/cheerio": "^0.22.35",
"axios": "^1.6.2",
"cheerio": "^1.1.0",
"next": "^15.3.4",
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@types/jest": "^30.0.0",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.16",
"eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"husky": "^9.1.7",
"jest": "^30.0.0",
"jest-environment-jsdom": "^30.0.0",
"postcss": "^8.4.32",
"tailwindcss": "^3.3.0",
"tsx": "^4.20.3",
"typescript": "^5.2.2",
"vite": "^5.0.8"
}
}