====== Einrichten der Entwicklungsumgebung ====== ===== Ordnerstruktur: ===== {{ :schule:klassen:2022:wsem:boulders:vsc:pasted:20221004-090755.png }} ===== Installation der benötigten node-Module: ===== npm init npm install phaser typescript ===== Konfiguration des Compilers ===== Auf der obersten Verzeichnisebene im Projekt erstellen wir die Datei ''tsconfig.json'': { "compilerOptions": { "target": "es6", "module": "es6", "outDir": "./htdocs/js", "sourceMap": true, "types": [ "phaser" ], "typeRoots": [ "./node_modules/phaser/types" ], }, "include": ["./src/**/*"] }