https://github.com/beeman/template-preact-ts
https://github.com/beeman/template-preact-ts
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/beeman/template-preact-ts
- Owner: beeman
- Created: 2020-02-05T08:29:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-10T06:30:49.000Z (over 5 years ago)
- Last Synced: 2025-02-09T22:26:29.391Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 1.44 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# preact-ts
## CLI Commands
* `npm install`: Installs dependencies
* `npm run start`: Runs `serve` or `dev`, depending on `NODE_ENV` value. Defaults to `dev server`
* `npm run dev`: Run a development, HMR server
* `npm run serve`: Run a production-like server
* `npm run build`: Production-ready build
* `npm run lint`: Pass TypeScript files using TSLint
* `npm run test`: Run Jest and [`preact-render-spy`](https://github.com/mzgoddard/preact-render-spy) for your tests
For detailed explanation on how things work, checkout the [CLI Readme](https://github.com/developit/preact-cli/blob/master/README.md).