Development

Follow these steps to install and run the Norio Next.js project (norio-nextjs-dev).


Requirements
  • Node.js 18.18+ or 20+ (see engines in package.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 from tokens/tokens.json
  • npm run build — production build (prebuild also runs tokens)
  • npm run start — serve the production build
  • npm 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"
  }
}