Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ekwoka/create-pett-app
CLI tool for scaffolding a Preact, Tailwind, Typescript project
https://github.com/ekwoka/create-pett-app
Last synced: 27 days ago
JSON representation
CLI tool for scaffolding a Preact, Tailwind, Typescript project
- Host: GitHub
- URL: https://github.com/ekwoka/create-pett-app
- Owner: ekwoka
- Created: 2022-03-19T16:11:35.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-31T06:04:51.000Z (over 2 years ago)
- Last Synced: 2024-05-02T01:12:37.892Z (8 months ago)
- Language: TypeScript
- Homepage:
- Size: 219 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Create PETT App
[](https://www.npmjs.com/package/create-pett-app)
- Preact
- ESBuild
- TailwindCSS
- TypescriptCreate PETT App scaffolds a simple directory for an app using the above technologies, so you don't have to deal with setting up the environment yourself
## How to Use
Choose your flavour:
```bash
npm init pett-app [dirname] [options]pnpm create create-pett-app [dirname] -p pnpm [options]
yarn create pett-app -p yarn [direname]
```Recommended:
```bash
pnpm create create-pett-app -lp pnpm [dirname]
```Simple!!!
## Options
### Package Manager:
Defines which package manager to use when installing deps
- Long: `--packagemanager`
- Alias: `-p`
- Default: `npm`
- Acceptable Options:
- `npm`
- `pnpm`
- `yarn`### TypeScript
Allows you to disable TypeScript (Currently does not have template)
- Long: `--typescript`
- Default: `true`
- Options:
- `true`
- `false`### Linting
Installs esLint and Prettier
- Long: `--lint`
- Alias: `-l`
- Default: false
- Options:
- `true`
- `false`## Roadmap
- Add JS Template
- Add Option to include Netlify Template Files
- Add Option to include Testing and example tests