npm install
cd stories
npm i
cd ..
npm run storybook
Command | Description |
---|---|
npm run lint |
Analyze code style |
npm run build |
Build the package. See the dist folder for output |
npm run test |
Execute the jest tests and watch for changes |
npm run coverage |
Execute the jest tests and generate code coverage report. See coverage/lcov-report/index.html for report |
npm run storybook |
Run storybook, the package's playground. If the browser doesn't open automatically, go to http://localhost:6006/ |
npm run build-storybook |
Builds the storybook as a standalone application |