Components for building React-based applications at Brown University.
// npm
npm i BrownUniversity/brown-university-components#semver:^2.0.0
// yarn
yarn add git+https://github.com/BrownUniversity/brown-university-components.git#^2.0.0
These libraries are not bundled with Brown University Components and are required at runtime:
The documentation is available at https://brownuniversity.github.io/brown-university-components/.
Install dependencies:
npm install
Run examples at http://localhost:8080 with storybook:
npm start
Run tests:
npm test
Run tests with code coverage:
npm test:coverage
Run tests with code coverage and open report:
npm test:coverage:open
Watch tests:
npm run test:watch
To publish a new version, do the following:
- Bump version in
package.json
andpackage-lock.json
- Bump version in
README.md
install instructions (for major and minor version bumps only) - Update
CHANGELOG.md
npm run build
- Commit changes
- Tag new version
- Push master and tags to all remotes