@tokens-studio/sd-transforms

v0.15.1
Custom transforms for Style-Dictionary, to work with Design Tokens that are exported from Tokens Studio
design tokens figma style-dictionary

lint

run-p lint:*

test

npm run test:unit && npm run test:integration

build

rimraf dist && rollup -c rollup.config.mjs && node ./handle-bundled-cjs-deps.js

format

npm run format:eslint && npm run format:prettier

prepare

husky install

release

npm run build && changeset publish

test:unit

web-test-runner --coverage

lint:types

tsc --noEmit

lint:eslint

eslint --ext .ts,.html .

format:eslint

eslint --ext .ts,.html . --fix

lint:prettier

prettier "**/*.ts" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)

format:prettier

prettier "**/*.{ts,md,mjs,js,cjs}" "package.json" --write

test:unit:watch

web-test-runner --watch

test:integration

ts-mocha -n loader=ts-node/esm -p tsconfig.json test/**/*.test.ts

test:unit:coverage

cd coverage/lcov-report && npx http-server -o -c-1
npm i @tokens-studio/[email protected]

Metadata

  • MIT
  • >=17.0.0
  • Joren Broekema
  • released 3/27/2024

Downloads