tokens-to-css 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +191 -0
- package/dist/index.d.ts +128 -0
- package/dist/index.js +1366 -0
- package/package.json +57 -0
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tokens-to-css",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Convert design-token JSON into a CSS custom-properties stylesheet.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"design-tokens",
|
|
7
|
+
"css",
|
|
8
|
+
"custom-properties",
|
|
9
|
+
"dtcg",
|
|
10
|
+
"style-dictionary",
|
|
11
|
+
"tokens-studio"
|
|
12
|
+
],
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"author": "Osvaldo Morgan",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/osvilauri/tokens-to-css.git"
|
|
18
|
+
},
|
|
19
|
+
"type": "module",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"default": "./dist/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=22.12"
|
|
31
|
+
},
|
|
32
|
+
"sideEffects": false,
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "tsdown",
|
|
35
|
+
"typecheck": "tsc --noEmit",
|
|
36
|
+
"lint": "node scripts/check-boundaries.mjs && node scripts/derive-dialects.mjs --check && node scripts/generate-docs.mjs --check",
|
|
37
|
+
"test": "vitest run",
|
|
38
|
+
"test:watch": "vitest",
|
|
39
|
+
"check": "npm run lint && npm run typecheck && npm run test",
|
|
40
|
+
"release": "changeset publish",
|
|
41
|
+
"guard:unimplemented": "node scripts/guard-unimplemented.mjs",
|
|
42
|
+
"prepublishOnly": "npm run check && npm run build && npm run guard:unimplemented",
|
|
43
|
+
"fixtures:derive": "node scripts/derive-dialects.mjs",
|
|
44
|
+
"demo": "npm run build && node demo/server.mjs",
|
|
45
|
+
"docs:generate": "node scripts/generate-docs.mjs"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@changesets/cli": "^3.0.1",
|
|
49
|
+
"@types/node": "^24.13.3",
|
|
50
|
+
"tsdown": "^0.22.14",
|
|
51
|
+
"typescript": "^7.0.2",
|
|
52
|
+
"vitest": "^4.1.11"
|
|
53
|
+
},
|
|
54
|
+
"volta": {
|
|
55
|
+
"node": "24.20.0"
|
|
56
|
+
}
|
|
57
|
+
}
|