Development
Follow these steps to install and run the Norio React project (norio-react-dev).
Requirements
- Node.js 18.18+ or 20+ (see
enginesinpackage.json) - npm (comes with Node)
Install dependencies
Open a terminal in the norio-react-dev folder, then run:
npm install
Start the dev server
npm run dev
Open http://localhost:5173 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 preview— serve the productiondist/buildnpm run lint— ESLint
package.json (excerpt)
{
"name": "norio-react-dev",
"version": "1.0.0",
"private": true,
"engines": {
"node": ">=18.18.0"
},
"scripts": {
"tokens": "node scripts/build-tokens.mjs",
"predev": "npm run tokens",
"dev": "vite",
"prebuild": "npm run tokens",
"build": "tsc --noEmit && vite build",
"preview": "vite preview",
"lint": "eslint"
},
"dependencies": {
"glightbox": "^3.3.1",
"gsap": "^3.15.0",
"react-router-dom": "^7.9.1",
"vite": "^6.2.0",
"react": "19.2.8",
"react-dom": "19.2.8",
"three": "^0.184.0"
},
"devDependencies": {
"sass": "^1.105.0",
"typescript": "^5",
"eslint": "^9",
"@vitejs/plugin-react": "^5.0.2"
}
}