package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "name": "jin-ce-hong-lun",
  3. "version": "0.1.0",
  4. "private": true,
  5. "scripts": {
  6. "predev": "node ./scripts/predev-lock-check.mjs",
  7. "dev": "next dev --webpack",
  8. "dev:clean": "sh -c 'PIDS=$(lsof -ti tcp:3000); if [ -n \"$PIDS\" ]; then echo \"Killing port 3000 process: $PIDS\"; kill $PIDS; fi; next dev --webpack'",
  9. "dev:reset": "sh -c 'PIDS=$(lsof -ti tcp:3000 -sTCP:LISTEN); if [ -n \"$PIDS\" ]; then echo \"Killing port 3000 process: $PIDS\"; kill $PIDS; fi; rm -f .next/dev/lock; npm run dev'",
  10. "dev:restart": "npm run dev:clean",
  11. "build": "next build",
  12. "build:test": "node ./scripts/build-with-env.mjs .env.development",
  13. "start": "next start",
  14. "lint": "eslint",
  15. "pm2:test": "pm2 start ecosystem.config.cjs --only jchl-test",
  16. "pm2:prod": "pm2 start ecosystem.config.cjs --only jchl-prod",
  17. "pm2:reload:test": "pm2 reload jchl-test",
  18. "pm2:reload:prod": "pm2 reload jchl-prod",
  19. "release:test": "npm run build:test && pm2 reload jchl-test",
  20. "release:prod": "npm run build && pm2 reload jchl-prod"
  21. },
  22. "dependencies": {
  23. "axios": "^1.15.0",
  24. "clsx": "^2.1.1",
  25. "lucide-react": "^1.11.0",
  26. "next": "16.2.3",
  27. "next-intl": "^4.9.1",
  28. "nextjs-toploader": "^3.9.17",
  29. "react": "19.2.4",
  30. "react-dom": "19.2.4",
  31. "tailwind-merge": "^3.5.0"
  32. },
  33. "devDependencies": {
  34. "@tailwindcss/postcss": "^4",
  35. "@types/node": "^20",
  36. "@types/react": "^19",
  37. "@types/react-dom": "^19",
  38. "cross-env": "^10.1.0",
  39. "eslint": "^9",
  40. "eslint-config-next": "16.2.3",
  41. "tailwindcss": "^4",
  42. "typescript": "^5"
  43. }
  44. }