0.2.0 • Published 3 years ago

@fulltime/tokens v0.2.0

Weekly downloads
8
License
ISC
Repository
-
Last release
3 years ago

fulltime-styleguide

Initial setup

Install the project dependencies via the CLI command:

npm install

Project structure

The project is made of these files and folders:

  • /token-generators contains the design tokens input files (in JSON format)
  • /templates contains the templates used to generate the output files
  • /dist contains the generated output files (in different formats)
  • build.js is the script used to generate the output files

Running the project

You can build the design tokens from the /src/ folder using the CLI command:

npm run build

of you can automatically re-build the tokens at every change using the command:

npm run watch

The generated tokens are saved in the /dist folder, and organised by target platform.