We are currently using version 18 of node but some packages now requires at least node 20.x. As this the LTS version, we upgrade your codebase to this version.
36 lines
980 B
JSON
36 lines
980 B
JSON
{
|
|
"name": "cunningham-demo",
|
|
"private": true,
|
|
"version": "2.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"lint": "eslint . 'src/**/*.{ts,tsx}'",
|
|
"dev": "vite & nodemon --watch cunningham.ts --exec yarn build-theme",
|
|
"build-theme": "cunningham -o src -g css,ts,scss && mv src/cunningham-tokens.scss src/cunningham-tokens-sass.scss",
|
|
"build": "tsc && vite build",
|
|
"build-demo": "tsc && vite build --base=/cunningham/demo/",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@faker-js/faker": "8.4.1",
|
|
"@openfun/cunningham-react": "*",
|
|
"@openfun/cunningham-tokens": "*",
|
|
"@openfun/typescript-configs": "*",
|
|
"@types/react": "18.3.3",
|
|
"@types/react-dom": "18.3.0",
|
|
"@vitejs/plugin-react": "4.3.1",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"sass": "1.77.8",
|
|
"typescript": "5.5.4",
|
|
"vite": "5.3.5"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"volta": {
|
|
"node": "20.16.0",
|
|
"yarn": "1.22.22"
|
|
}
|
|
}
|