- Introduced a new script to check TypeScript lesson files for errors. - Created a main TypeScript file to render lessons and their details. - Added lesson definitions with starter and answer codes. - Implemented a user interface for navigating and running lessons. - Styled the application with CSS for a better user experience. - Updated README to reflect the new TypeScript section and usage instructions.
22 lines
505 B
JSON
22 lines
505 B
JSON
{
|
|
"name": "06-typescript",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"check": "tsc --noEmit -p ./tsconfig.json && node ./scripts/check-lessons.mjs",
|
|
"check:app": "tsc --noEmit -p ./tsconfig.json",
|
|
"check:lessons": "node ./scripts/check-lessons.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "latest",
|
|
"vite": "latest"
|
|
},
|
|
"dependencies": {
|
|
"pnpm": "^10.32.1"
|
|
}
|
|
}
|