| "build": "next build", | "build": "next build", | ||||
| "build:docker": "next build && node scripts/optimize-standalone.js", | "build:docker": "next build && node scripts/optimize-standalone.js", | ||||
| "start": "cp -r .next/static .next/standalone/.next/static && cp -r public .next/standalone/public && cross-env PORT=$npm_config_port HOSTNAME=$npm_config_host node .next/standalone/server.js", | "start": "cp -r .next/static .next/standalone/.next/static && cp -r public .next/standalone/public && cross-env PORT=$npm_config_port HOSTNAME=$npm_config_host node .next/standalone/server.js", | ||||
| "lint": "pnpx oxlint && pnpm eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache", | |||||
| "lint-only-show-error": "pnpx oxlint && pnpm eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache --quiet", | |||||
| "lint": "npx oxlint && pnpm eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache", | |||||
| "lint-only-show-error": "npm oxlint && pnpm eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache --quiet", | |||||
| "fix": "eslint --fix .", | "fix": "eslint --fix .", | ||||
| "eslint-fix": "eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache --fix", | "eslint-fix": "eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache --fix", | ||||
| "eslint-fix-only-show-error": "eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache --fix --quiet", | "eslint-fix-only-show-error": "eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache --fix --quiet", |