wpetit 69867b113f | ||
---|---|---|
misc/dokku | ||
src | ||
.dockerignore | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
Dockerfile | ||
Makefile | ||
README.md | ||
jest.config.js | ||
package-lock.json | ||
package.json | ||
preact.config.js | ||
tsconfig.json |
README.md
guesstimate
CLI Commands
-
npm install
: Installs dependencies -
npm run start
: Runsserve
ordev
, depending onNODE_ENV
value. Defaults todev server
-
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 TSLint -
npm run test
: Run Jest andpreact-render-spy
for your tests
For detailed explanation on how things work, checkout the CLI Readme.