UNPKG

@terrazzo/plugin-js

Version:

Generate JS, TS, and JSON from your design tokens schema (requires @terrazzo/cli)

46 lines 1.24 kB
{ "name": "@terrazzo/plugin-js", "version": "0.7.0", "description": "Generate JS, TS, and JSON from your design tokens schema (requires @terrazzo/cli)", "type": "module", "author": { "name": "Drew Powers", "email": "drew@pow.rs" }, "keywords": [ "design tokens", "design system", "dtcg", "w3c", "ts", "typescript" ], "main": "./dist/index.js", "homepage": "https://terrazzo.app/docs/cli/integrations/js", "repository": { "type": "git", "url": "https://github.com/terrazzoapp/terrazzo.git", "directory": "./packages/plugin-js/" }, "license": "MIT", "peerDependencies": { "@terrazzo/cli": "0.x" }, "dependencies": { "@terrazzo/token-tools": "^0.7.0" }, "devDependencies": { "@terrazzo/cli": "^0.7.0", "@terrazzo/parser": "^0.7.0" }, "scripts": { "build": "pnpm run build:ts && pnpm -w run inject-license @terrazzo/plugin-js dist/index.js", "build:ts": "tsc -p tsconfig.build.json", "dev": "tsc -p tsconfig.build.json -w", "format": "biome check --fix --unsafe .", "lint": "biome check .", "test": "pnpm --filter @terrazzo/plugin-js run \"/^test:*/\"", "test:js": "vitest run", "test:ts": "tsc --noEmit" } }