Node.js >= v4 must be installed.
- Running
npm install
in the component's root directory will install everything you need for development.
npm start
will run a development server with the style guide components at http://localhost:6060.
-
npm test
will run the tests once. -
npm run test:coverage
will run the tests and produce a coverage report incoverage/
. -
npm run test:update
will update the test snapshots. -
npm run test:watch
will run the tests on every change.
-
npm run build
will build the component for publishing to npm and also bundle the demo app. -
npm run clean
will delete built resources.
npm run release
will run update the CHANGELOG and bump the package version (you still need to runnpm publish
).
npm run deploy
will deploy the living style guide documentation to GitHub pages.