readmedev-ds v0.3.18
README.DEV (DS) - Books and Tutorials for Programming
This project was created to study how to build and publish React UI Components Library with Storybook.
This project was bootstrapped with TSDX.
Commands
The recommended workflow is to run TSDX in one terminal:
npm start # or yarn startThis builds to /dist and runs the project in watch mode so any edits you save inside src causes a rebuild to /dist.
Then run either Storybook or the example playground:
Storybook
Run inside another terminal:
yarn storybookThis loads the stories from ./stories.
Example
Then run the example inside another:
cd example
npm i # or yarn to install dependencies
npm start # or yarn startTo do a one-off build, use npm run build or yarn build.
Jest
Jest tests are set up to run with npm test or yarn test.
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago