1.0.2 • Published 3 years ago
@ekwoka/create-pett-app v1.0.2
Create PETT App
- 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
How to Use
Choose your flavour:
npm init @ekwoka/pett-app [dirname] [options]
pnpm create @ekwoka/create-pett-app [dirname] -p pnpm [options]
yarn create @ekwoka/pett-app -p yarn [direname]Recommended:
pnpm create @ekwoka/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:
npmpnpmyarn
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