A toy project to experiment with TypeScript, HTML and CSS:
Install npm (Volta is recommended) then:
npm install
Generate JavaScript code:
npm run build-watch
Then directly open index.html in your favorite web browser.
Note that you can also browse the page in HTTP via:
npm run serve
Format the code:
npm run format
Check the code format:
npm run format:check
Lint the code:
npm run lint
Lint and fix the code:
npm run lint:fix
Lint the CSS:
npm run lint:css
Serve via HTTP:
npm run serve
Then run end-to-end tests:
npm run end-to-end-tests