Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nickytonline/ts-preact-starter
Barebones starter project for Preact with TypeScript
https://github.com/nickytonline/ts-preact-starter
preact typescript
Last synced: 3 months ago
JSON representation
Barebones starter project for Preact with TypeScript
- Host: GitHub
- URL: https://github.com/nickytonline/ts-preact-starter
- Owner: nickytonline
- License: mit
- Archived: true
- Created: 2016-12-26T05:18:49.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-07-21T11:29:49.000Z (over 2 years ago)
- Last Synced: 2024-08-02T06:17:10.038Z (6 months ago)
- Topics: preact, typescript
- Language: TypeScript
- Size: 1.24 MB
- Stars: 51
- Watchers: 3
- Forks: 6
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-preact - TypeScript Preact Starter - Barebones starter project for Preact with TypeScript. (Uncategorized / Uncategorized)
README
# ts-preact-starter
**This project is no longer maintained as there are better projects for TypeScript and Preact that have popped up since this project was created**
[![Build status](https://img.shields.io/travis/nickytonline/ts-preact-starter.svg)](https://travis-ci.org/nickytonline/ts-preact-starter)
[![Netlify Status](https://api.netlify.com/api/v1/badges/05030e94-4c6a-4699-9c36-552a2e345f35/deploy-status)](https://app.netlify.com/sites/fervent-newton-a3b969/deploys)This is a barebones starter kit for Preact with TypeScript. Click the green "Use this template" button at the top of this page and enter a name and description for your repository.
To get up and running
1. `npm install`
1. From the command line run `npm start`
1. Navigate to [http://localhost:3000](http://localhost:3000)To run tests:
1. `npm test`
1. To run in watch mode, run `npm run test:watch`
1. Tests are set up to run out of the `__tests__` folder. I put this by default as this appears to be part of the Jest defaults, but if you prefer to have your tests beside the code you want to test, simply modify the regex in the Jest configuration in `package.json`.To run Cypress:
1. Run `npm run start` to start the webpack dev server.
2. Run `npm run e2e:dev` to open the Cypress test runner. For more information on Cypress, see their [official documentation](https://docs.cypress.io)To run Storybook:
1. `npm run storybook`
1. Navigate to [http://localhost:6006](http://localhost:6006)
1. For more information on using Storybook, see the [Storybook for Preact](https://storybook.js.org/docs/guides/guide-preact) guide.A deployed demo can be found at [typescript-preact-starter.iamdeveloper.com](https://typescript-preact-starter.iamdeveloper.com).