-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
41 lines (41 loc) · 1.47 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "tokens-studio",
"version": "0.0.0",
"main": "./index.ts",
"types": "./index.ts",
"license": "UNLICENSED",
"files": [
"dist/style-dictionary/core.json",
"dist/style-dictionary/light.json",
"dist/style-dictionary/dark.json",
"dist/tailwind-css/core.json",
"dist/tailwind-css/light.json",
"dist/tailwind-css/dark.json"
],
"scripts": {
"transform-core": "token-transformer src/tokens.json dist/style-dictionary/core.json core",
"transform-light": "token-transformer src/tokens.json dist/style-dictionary/light.json core,light core",
"transform-dark": "token-transformer src/tokens.json dist/style-dictionary/dark.json core,dark core",
"transform": "pnpm run transform-core && pnpm run transform-light && pnpm run transform-dark",
"transpile-build-script": "esbuild src/build.ts --bundle --platform=node --packages=external --outfile=dist/build.js",
"build": "pnpm run transform && pnpm run transpile-build-script && node dist/build.js",
"lint": "eslint",
"format:check": "prettier --check .",
"format:fix": "prettier --write ."
},
"devDependencies": {
"@types/node": "18.16.16",
"esbuild": "0.17.19",
"eslint": "8.41.0",
"eslint-config-custom": "workspace:*",
"sd-tailwindcss-transformer": "1.3.1",
"style-dictionary": "3.8.0",
"tailwindcss": "3.3.2",
"token-transformer": "0.0.33",
"tsconfig": "workspace:*",
"typescript": "5.0.4"
},
"dependencies": {
"zod": "3.21.4"
}
}