UNPKG

@tokens-studio/sd-transforms

Version:

Custom transforms for Style-Dictionary, to work with Design Tokens that are exported from Tokens Studio

88 lines (87 loc) 2.79 kB
{ "name": "@tokens-studio/sd-transforms", "version": "2.0.3", "description": "Custom transforms for Style-Dictionary, to work with Design Tokens that are exported from Tokens Studio", "license": "MIT", "author": "Joren Broekema <joren.broekema@gmail.com>", "repository": { "type": "git", "url": "git+https://github.com/tokens-studio/sd-transforms.git" }, "type": "module", "exports": { ".": "./dist/index.js" }, "files": [ "dist" ], "scripts": { "build": "rimraf dist && tsc", "format": "npm run format:eslint && npm run format:prettier", "format:eslint": "eslint --ext .ts,.html . --fix", "format:prettier": "prettier \"**/*.{ts,md,mjs,js,cjs}\" \"package.json\" --write", "lint": "run-p lint:*", "lint:eslint": "eslint --ext .ts,.html .", "lint:prettier": "prettier \"**/*.ts\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)", "lint:types": "tsc --noEmit", "prepare": "husky install", "release": "npm run build && changeset publish", "test": "npm run test:unit && npm run test:integration", "test:integration": "vitest run", "test:unit": "web-test-runner --coverage", "test:unit:coverage": "cd coverage/lcov-report && npx http-server -o -c-1", "test:unit:watch": "web-test-runner --watch", "version": "changeset version && npm install --package-lock-only" }, "dependencies": { "@bundled-es-modules/deepmerge": "^4.3.1", "@bundled-es-modules/postcss-calc-ast-parser": "^0.1.6", "@tokens-studio/types": "^0.5.1", "colorjs.io": "^0.5.2", "expr-eval-fork": "^3.0.1", "is-mergeable-object": "^1.1.1" }, "peerDependencies": { "style-dictionary": "^5.0.0" }, "devDependencies": { "@changesets/cli": "^2.27.6", "@types/chai": "^4.3.16", "@types/mocha": "^10.0.7", "@types/tinycolor2": "^1.4.6", "@typescript-eslint/eslint-plugin": "^5.54.0", "@typescript-eslint/parser": "^5.54.0", "@web/dev-server-esbuild": "^1.0.4", "@web/test-runner": "^0.18.2", "@web/test-runner-playwright": "^0.11.0", "chai": "^5.1.1", "eslint": "^8.32.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-mocha": "^10.4.3", "hanbi": "^1.0.3", "http-server": "^14.1.1", "husky": "^8.0.0", "lint-staged": "^15.2.10", "npm-run-all": "^4.1.5", "prettier": "^3.3.2", "prettier-package-json": "^2.8.0", "rimraf": "^6.0.1", "tinycolor2": "^1.6.0", "typescript": "^5.8.2", "vitest": "^3.0.9" }, "keywords": [ "design tokens", "figma", "style-dictionary" ], "engines": { "node": ">=18.0.0" }, "prettier": { "printWidth": 100, "singleQuote": true, "arrowParens": "avoid", "trailingComma": "all" } }