|
|
|
|
@ -21,6 +21,8 @@
|
|
|
|
|
"dev": "cross-env NODE_OPTIONS='--inspect' next dev",
|
|
|
|
|
"build": "next build",
|
|
|
|
|
"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",
|
|
|
|
|
"win": "xcopy /E /I .next\\static .next\\standalone\\.next\\static && xcopy /E /I public .next\\standalone\\public && next start",
|
|
|
|
|
"win:start": "next start",
|
|
|
|
|
"lint": "pnpm eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache",
|
|
|
|
|
"lint-only-show-error": "pnpm eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache --quiet",
|
|
|
|
|
"fix": "next lint --fix",
|
|
|
|
|
|