Preact CLI App
-
npm install
: Installs dependencies -
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 ESLint -
npm run test
: Run Jest and Enzyme withenzyme-adapter-preact-pure
for your tests
For detailed explanation on how things work, checkout the CLI Readme.
npm run deploy
- Build prod release and deploys to server
Terminal inspired by https://crt.no/
Created with:
npx preact-cli create typescript homepage