Skip to content

CodeDraken/react-ipsum

Repository files navigation

React Ipsum

Build Status

React Lorem Ipsum components to be used as placeholders in designs.

Components

View the components in a Storybook here.

NPM

npm i react-ipsum

https://www.npmjs.com/package/react-ipsum

Contributing Instructions

  1. Fork the repo and download / clone your fork.
  2. Make a new branch name it something like add-{ComponentName}
  3. Run npm install
  4. Make your changes following the Standard JS style ( run npm run lint and npm run lint-fix if you don't want to install Standard )
  5. Make sure all tests pass and there are no issues when you run: npm test and npm run lint

Commands

npm run storybook - starts storybook on localhost:6006 This is the main way to preview the components. You make a component, add stories for it, and play around with it.

npm test - runs unit tests using Jest

npm run lint - runs the Standard JS linter

npm run lint-fix - runs Standard and tries to fix detected issues

npm run build - outputs minified, processed code into dist/index.js Use this to test the components like you would if you had installed the package from npm. i.e import { LoremText } from 'dist'

storybook-deploy - deploys storybook to gh-pages branch.

About

React lorem ipsum components library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages