@qw-ui/tokens 0.1.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/dist/index.d.ts +624 -0
- package/dist/index.js +1182 -0
- package/dist/index.js.map +1 -0
- package/dist/tokens.css +429 -0
- package/dist/tokens.json +818 -0
- package/dist/tokens.live.css +478 -0
- package/dist/tokens.ts +818 -0
- package/package.json +80 -0
package/package.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@qw-ui/tokens",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "QW token pipeline: Figma Color variables are the color source of truth; code validates snapshots and builds CSS / TS exits.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "qw-ui contributors",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"design-tokens",
|
|
9
|
+
"css-variables",
|
|
10
|
+
"oklch",
|
|
11
|
+
"dtcg",
|
|
12
|
+
"style-dictionary",
|
|
13
|
+
"qw-ui"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "http://gitlab.alibaba-inc.com/qianwen/qw-ui",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+http://gitlab.alibaba-inc.com/qianwen/qw-ui.git",
|
|
19
|
+
"directory": "packages/tokens"
|
|
20
|
+
},
|
|
21
|
+
"bugs": "http://gitlab.alibaba-inc.com/qianwen/qw-ui/issues",
|
|
22
|
+
"type": "module",
|
|
23
|
+
"files": [
|
|
24
|
+
"dist"
|
|
25
|
+
],
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"import": "./dist/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./tokens.css": "./dist/tokens.css",
|
|
32
|
+
"./tokens.live.css": "./dist/tokens.live.css",
|
|
33
|
+
"./tokens.json": "./dist/tokens.json"
|
|
34
|
+
},
|
|
35
|
+
"sideEffects": [
|
|
36
|
+
"**/*.css"
|
|
37
|
+
],
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"culori": "^4.0.2",
|
|
40
|
+
"zod": "^4.4.3"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@microsoft/api-extractor": "^7.58.9",
|
|
44
|
+
"@size-limit/preset-small-lib": "^12.1.0",
|
|
45
|
+
"@types/culori": "^4.0.1",
|
|
46
|
+
"@vitest/coverage-v8": "^4.1.9",
|
|
47
|
+
"size-limit": "^12.1.0",
|
|
48
|
+
"style-dictionary": "^5.5.0",
|
|
49
|
+
"tsup": "^8.5.1",
|
|
50
|
+
"tsx": "^4.22.4",
|
|
51
|
+
"typescript": "^6.0.3",
|
|
52
|
+
"vitest": "^4.1.9",
|
|
53
|
+
"@qw-ui/eslint-config": "0.0.0",
|
|
54
|
+
"@qw-ui/tsconfig": "0.0.0"
|
|
55
|
+
},
|
|
56
|
+
"size-limit": [
|
|
57
|
+
{
|
|
58
|
+
"path": "dist/index.js",
|
|
59
|
+
"limit": "12 kB",
|
|
60
|
+
"ignore": [
|
|
61
|
+
"culori",
|
|
62
|
+
"zod"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"publishConfig": {
|
|
67
|
+
"access": "public",
|
|
68
|
+
"registry": "https://registry.npmjs.org/"
|
|
69
|
+
},
|
|
70
|
+
"scripts": {
|
|
71
|
+
"build": "tsup && tsx build-tokens.ts",
|
|
72
|
+
"gen:design": "tsx scripts/export-design-tokens.ts",
|
|
73
|
+
"validate:figma-color": "tsx scripts/validate-figma-color-tokens.ts",
|
|
74
|
+
"test": "vitest run",
|
|
75
|
+
"lint": "eslint .",
|
|
76
|
+
"size": "size-limit",
|
|
77
|
+
"api": "api-extractor run --local",
|
|
78
|
+
"clean": "rm -rf dist .turbo etc/*.api.json temp"
|
|
79
|
+
}
|
|
80
|
+
}
|