feat: add TypeScript lessons and learning panel
- 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.
This commit is contained in:
21
06-typescript/package.json
Normal file
21
06-typescript/package.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user