@evergis/react
v2.0.259
Published
## Commands
Downloads
1,075
Keywords
Readme
@evergis/react
Commands
npm start # or yarn start
This 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 example playground or storybook:
Storybook
Run inside another terminal:
yarn storybook
This loads the stories from ./stories
.
NOTE: Stories should reference the components as if using the library. This means importing from the root project directory. This has been aliased in the tsconfig and the storybook webpack config as a helper.
Tests
Jest tests are set up to run with npm test
or yarn test
. This runs the test watcher (Jest) in an interactive mode.
By default, runs tests related to files changed since the last commit.
TODO: MOVE style to separate @evergis/style