- Preact
- ESBuild
- TailwindCSS
- Typescript
Create 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
Choose your flavour:
npm init pett-app [dirname] [options]
pnpm create create-pett-app [dirname] -p pnpm [options]
yarn create pett-app -p yarn [direname]
Recommended:
pnpm create create-pett-app -lp pnpm [dirname]
Simple!!!
Defines which package manager to use when installing deps
- Long:
--packagemanager
- Alias:
-p
- Default:
npm
- Acceptable Options:
npm
pnpm
yarn
Allows you to disable TypeScript (Currently does not have template)
- Long:
--typescript
- Default:
true
- Options:
true
false
Installs esLint and Prettier
- Long:
--lint
- Alias:
-l
- Default: false
- Options:
true
false
- Add JS Template
- Add Option to include Netlify Template Files
- Add Option to include Testing and example tests