UNPKG

style-dictionary-utils

Version:
66 lines (65 loc) 1.98 kB
{ "name": "style-dictionary-utils", "version": "4.0.5", "type": "module", "publishConfig": { "registry": "https://registry.npmjs.org", "access": "public" }, "repository": { "type": "git", "url": "https://github.com/lukasoppermann/style-dictionary-utils.git" }, "description": "Utilities to use in your style dictionary config", "exports": { ".": "./dist/index.js", "./filter/*": "./dist/filter/*" }, "files": [ "dist/*" ], "scripts": { "test": "npm run build && npx vitest run && npm run lint", "test:build": "npm run build && node ./tests/build.mjs", "test:package": "node ./tests/build-from-package.mjs", "lint": "npx eslint . --ext .ts", "lint:fix": "npx eslint . --ext .ts --fix", "lint:report": "npx eslint --output-file eslint_report.json --format json src", "format": "prettier --check '**/*.{js,jsx,ts,tsx,md,mdx,css}'", "format:fix": "prettier --write '**/*.{js,jsx,ts,tsx,md,mdx,css}'", "clean:dist": "rm -rf dist/", "prebuild": "npm run clean:dist", "build": "tsc", "preversion": "npm run build && npm run test", "postversion": "git push --follow-tags && npm publish", "postpublish": "npm i -D style-dictionary-utils@latest" }, "keywords": [ "design token", "style dictionary", "design system" ], "author": "Lukas Oppermann", "license": "MIT", "bugs": { "url": "https://github.com/lukasoppermann/style-dictionary-utils/issues" }, "homepage": "https://github.com/lukasoppermann/style-dictionary-utils#readme", "dependencies": { "color2k": "^2.0.3" }, "devDependencies": { "@github/prettier-config": "^0.0.6", "@types/node": "^22.2.0", "eslint": "^8.57.0", "eslint-plugin-github": "^5.0.2", "prettier": "^3.3.3", "style-dictionary": "^4.0.1", "style-dictionary-utils": "^4.0.0", "typescript": "^5.5.2", "vitest": "^2.0.4" }, "peerDependencies": { "style-dictionary": "^4" } }