my-preact-ts-widget
v0.1.0
Published
## CLI Commands
Downloads
1
Readme
my-preact-ts-widget
CLI Commands
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build npm ready bundles to be consumed by other Preact web apps
npm run build:widget
# build npm ready bundles to be used as a component library
npm run build:lib
# lint the project with eslint to find code style issues
npm run lint
# run tests with jest and enzyme
npm run test
For detailed explanation on how things work, checkout the CLI Readme.