Development
Follow these steps to install and run the Norio Next.js project (norio-nextjs-dev).
Requirements
- Node.js 18.18+ or 20+ (see
enginesinpackage.json) - npm (comes with Node)
Install dependencies
Open a terminal in the norio-nextjs-dev folder, then run:
npm install
Start the dev server
npm run dev
Open http://localhost:3000 in your browser. predev runs npm run tokens automatically so CSS variables stay in sync.
Useful scripts
npm run tokens— rebuild design tokens fromtokens/tokens.jsonnpm run build— production build (prebuildalso runs tokens)npm run start— serve the production buildnpm run lint— ESLint
package.json (excerpt)
{
"name": "norio-nextjs-dev",
"version": "1.0.0",
"private": true,
"engines": {
"node": ">=18.18.0"
},
"scripts": {
"tokens": "node scripts/build-tokens.mjs",
"predev": "npm run tokens",
"dev": "next dev",
"prebuild": "npm run tokens",
"build": "next build",
"start": "next start",
"lint": "eslint"
},
"dependencies": {
"glightbox": "^3.3.1",
"gsap": "^3.15.0",
"next": "16.3.6",
"react": "19.2.8",
"react-dom": "19.2.8",
"three": "^0.184.0"
},
"devDependencies": {
"sass": "^1.105.0",
"typescript": "^5",
"eslint": "^9",
"eslint-config-next": "16.3.6"
}
}