Files
cunningham/apps/demo/package.json

36 lines
980 B
JSON
Raw Normal View History

{
"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": "9.7.0",
"@openfun/cunningham-react": "*",
"@openfun/cunningham-tokens": "*",
"@openfun/typescript-configs": "*",
"@types/react": "19.1.2",
"@types/react-dom": "19.1.3",
"@vitejs/plugin-react": "4.4.1",
"react": "19.1.0",
"react-dom": "19.1.0",
"sass": "1.87.0",
"typescript": "5.8.3",
"vite": "6.3.4"
},
"engines": {
"node": ">=18.0.0"
},
"volta": {
"node": "20.16.0",
"yarn": "1.22.22"
}
}