omid.ir ui kit
npm install @omidanalyzer/decoreOmid.ir UI KIT package.
- Typescript
- Components generators
- Development Environment: Storybook
- Styles: Styled Components with theming configuration
- Lint: typescript eslint
- Tests: Jest
Make sure that you have Node v8 or above installed.
1. Clone this repo
2. Move to the appropriate directory: cd decore.
3. Run npm ci in order to install dependencies.
4. At this point you can run npm start to see the example Storybook at http://localhost:4008.
To add a new component, just run npm run generate. This command will generate all the component (Stateless or not) files for you.
To test your components run npm test.
By default we run tests and lint before any push.
To deploy storybook run npm run deploy-storybook.