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": "9.3.0",
|
|
"@openfun/cunningham-react": "*",
|
|
"@openfun/cunningham-tokens": "*",
|
|
"@openfun/typescript-configs": "*",
|
|
"@types/react": "19.0.3",
|
|
"@types/react-dom": "19.0.2",
|
|
"@vitejs/plugin-react": "4.3.4",
|
|
"react": "19.0.0",
|
|
"react-dom": "19.0.0",
|
|
"sass": "1.83.1",
|
|
"typescript": "5.7.2",
|
|
"vite": "6.0.7"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"volta": {
|
|
"node": "20.16.0",
|
|
"yarn": "1.22.22"
|
|
}
|
|
}
|