Files
cunningham/apps/demo/package.json
2024-07-29 14:46:52 +02:00

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": "18.18.2",
"yarn": "1.22.22"
}
}