generator-summon
Version:
Set of small and composable generators
47 lines (33 loc) • 745 B
Markdown
## Development
### Run
To start the server locally
```bash
npm run start
```
See your site at [localhost:7000](http://localhost:7000). It will automagically refresh when you change the code (via webpack dev server + hot module replacement).
### Build
```bash
npm run build
```
### Linting
```bash
# to show all linting errors and warnings
npm run lint
# to fix the easy ones and show remaining errors and warning
npm run lint-fix
```
### Storybook
```bash
# to start storybook at port 5555
npm run storybook
# to build storybook
npm run build-storybook
```
### Testing
```bash
# Run this command to test once.
npm run test
# Or run this command to test and retest when files are changed.
# (test-driven development)
npm run tdd
```