tree: 2ce1a443becce6c6b702889ce6e8d61eeda30f44 [path history] [tgz]
  1. .eslintrc.json
  2. .gitignore
  4. demos/
  5. elements/
  6. index.html
  7. karma.conf.js
  8. lerna.json
  9. package-lock.json
  10. package.json
  11. webpack.config.js


This directory contains Web Components shared across Chrome Operations' application frontends.

Using chopsui components

Find the name of the specific component and install it within the @chopsui package scope. For example, to install chops-header, run npm install @chopsui/chops-header.


To set up project development:

  1. Clone this repo with git clone.
  2. Install dependencies with npm run bootstrap.
  3. Run tests with npm test.
  4. Run demos with npm start. The demos will be at http://localhost:8080/.

Publishing packages

ChopsUI packages are published publicly on npm under the @chopsui organization. To be added to this org, please send your npm username to zhangtiff@.

Each component is published under a separate npm package. Packages are managed using Lerna. All packages are published together using a single version number kept in the lerna.json file under the version key.

To publish, update the version number and run npx lerna publish.