@tokens-studio/sd-transforms

v0.5.7
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

run-p test:unit test:integration

build

rimraf dist && npm run esm-postcss-calc && run-p build:*

format

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

prepare

husky install

release

npm run build && changeset publish

build:cjs

rollup -c rollup/cjs.config.mjs

test:unit

web-test-runner --coverage

build:main

tsc -p tsconfig.build.json

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}" "package.json" --write

test:unit:watch

web-test-runner --watch

esm-postcss-calc

rollup -c rollup/postcss-calc.config.mjs

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
  • >=15.14.0
  • Joren Broekema
  • released 4/2/2023

Downloads