... "scripts": { "build": "next build", "start": "next start", "export": "next export" } ... // build command $ npm run build $ npm run start