36 lines
982 B
JSON
36 lines
982 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.2.64",
|
|
"@types/react-dom": "18.2.21",
|
|
"@vitejs/plugin-react": "4.2.1",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"sass": "1.71.1",
|
|
"typescript": "5.4.2",
|
|
"vite": "5.1.5"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"volta": {
|
|
"node": "18.18.2",
|
|
"yarn": "1.22.22"
|
|
}
|
|
}
|