@types | ||
src | ||
.env | ||
.env.development | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.parcelrc | ||
.prettierrc.json | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
Typescript parceljs html page template
- parceljs
- typescript
- linter - eslint with @typescript-eslint
- prettier
- pre-commit hook for lint
- reading .env files
- simple HMR using
window.location.reload()
Development
npm run dev
starts server hosted on port
localhost:1234
Production
npm run prod