Package Exports
- @cobalt-ui/cli/dist/build.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@cobalt-ui/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Cobalt UI
Schemas and tools for managing design tokens.
Install
Run:
npm i -D @cobalt-ui/cli
Commands
Command | Description |
---|---|
cobalt build |
Generate code from tokens.json |
cobalt build --watch |
Watch tokens.json for changes and rebuild on every save |
cobalt sync |
Sync tokens.json with Figma |
cobalt init |
Create a stub tokens.json file |
cobalt validate |
Check tokens.json for errors |