Implementation following plan: - S01: Foundation: schema, section config, and router - S02: Install CodeMirror JavaScript language support - S03: Create JavaScript lesson JSON files (variables, DOM, events) - S04: Register JavaScript lessons in module stores - S05: Add JavaScript validation logic - S06: Add JavaScript mode to LessonEngine preview rendering - S07: Add JavaScript mode to CodeEditor - S08: Update app.js for JavaScript mode support - S09: Update navigation HTML and CSS theming for JavaScript section - S10: Add section grouping headers in sidebar navigation - S11: Update and write tests
52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
{
|
|
"name": "code-crispies",
|
|
"version": "1.0.0",
|
|
"description": "An interactive platform for learning CSS through practical challenges",
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "npm run dev",
|
|
"dev": "vite --host",
|
|
"build": "vite build",
|
|
"preview": "vite preview --debug",
|
|
"test": "vitest run",
|
|
"test.watch": "vitest watch",
|
|
"test.coverage": "vitest run --coverage",
|
|
"format": "prettier --write src/ tests/ schemas/ package.json vite.config.js vitest.config.js",
|
|
"format.lessons": "prettier --write 'lessons/**/*.json'"
|
|
},
|
|
"keywords": [
|
|
"css",
|
|
"html",
|
|
"learning",
|
|
"interactive",
|
|
"education"
|
|
],
|
|
"author": "Michael Czechowski <mail@dailysh.it>",
|
|
"license": "Copyright 2026 (c) Michael Czechowski",
|
|
"devDependencies": {
|
|
"@testing-library/dom": "^10.4.0",
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@vitest/coverage-v8": "^3.1.3",
|
|
"jsdom": "^26.1.0",
|
|
"prettier": "^3.5.3",
|
|
"vite": "^6.3.5",
|
|
"vitest": "^3.1.3"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/autocomplete": "^6.20.0",
|
|
"@codemirror/commands": "^6.10.1",
|
|
"@codemirror/lang-css": "^6.3.1",
|
|
"@codemirror/lang-html": "^6.4.11",
|
|
"@codemirror/lang-javascript": "^6.2.5",
|
|
"@codemirror/lang-markdown": "^6.5.0",
|
|
"@codemirror/state": "^6.5.2",
|
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
"@codemirror/view": "^6.39.4",
|
|
"@emmetio/codemirror6-plugin": "^0.4.0",
|
|
"@supabase/supabase-js": "^2.90.1",
|
|
"codemirror": "^6.0.2",
|
|
"marked": "^17.0.1",
|
|
"whatwg-fetch": "^3.6.20"
|
|
}
|
|
}
|