Vivian Lim a2853c4a95 | ||
---|---|---|
.. | ||
src | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
README.md | ||
jest.config.js | ||
package-lock.json | ||
package.json | ||
preact.config.js | ||
size-plugin.json | ||
tsconfig.eslint.json | ||
tsconfig.json |
README.md
frontend
CLI Commands
-
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 TSLint -
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.