-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
24 lines (24 loc) · 989 Bytes
/
package.json
File metadata and controls
24 lines (24 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"name": "design-tokens",
"version": "1.0.0",
"main": "./dist/index.js",
"description": "Design tokens for the API3 organization",
"scripts": {
"build": "pnpm run convert-all && pnpm run rename-tailwind-file && tsc",
"convert-all": "pnpm run transform-tokens && pnpm run convert-to-w3c && pnpm run convert-to-tailwind && pnpm run convert-to-css-vars",
"transform-tokens": "token-transformer --expandTypography --expandBorder tokens/tokens.json tokens/converted-tokens.json",
"convert-to-w3c": "node transformTokensToW3CStandard.js",
"convert-to-tailwind": "node sd.config.js",
"convert-to-css-vars": "style-dictionary build",
"rename-tailwind-file": "mv converted/js/tailwind.config.js converted/js/tailwind.config.ts"
},
"dependencies": {
"sd-tailwindcss-transformer": "^1.4.1",
"style-dictionary": "^3.9.2",
"token-transformer": "^0.0.33"
},
"devDependencies": {
"@types/node": "^20.17.24",
"typescript": "^5.8.2"
}
}