Home

Awesome

UDT logo

Universal Design Tokens (UDT)

Universal Design Tokens (UDT) is a collection of libraries and utilities for working with DTCG design tokens files.

<!-- TOC updateonsave:true depthfrom:2 --> <!-- /TOC -->

Packages

This is a monorepo containing the source code for several UDT packages

Core

CLI tools

Other

Development

Pre-requisites

Initial setup

After cloning the repo or if package dependencies have been changed since you last did this, you need to run the following from the root of the monorepo:

npm install
npm run bootstrap

Build

To build all the packages, run the following from the root of the monorepo:

npm run build

After an initial build, you can run the following to watch for changes to the code and automatically rebuild modules and packages as needed:

npm run watch

Testing

Run:

npm run test