@vegastack/design-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/package.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "@vegastack/design-tokens",
3
+ "version": "0.1.0",
4
+ "description": "VegaStack design tokens (DTCG → Tailwind v4 theme + TS)",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/VegaStack/vegastack-design.git",
9
+ "directory": "packages/design-tokens"
10
+ },
11
+ "type": "module",
12
+ "sideEffects": [
13
+ "**/*.css"
14
+ ],
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/tokens.d.ts",
21
+ "import": "./dist/tokens.js"
22
+ },
23
+ "./theme.css": "./dist/theme.css",
24
+ "./base.css": "./dist/base.css",
25
+ "./utilities.css": "./dist/utilities.css",
26
+ "./tokens.json": "./dist/tokens.json"
27
+ },
28
+ "devDependencies": {
29
+ "style-dictionary": "5.5.0",
30
+ "typescript": "^6.0.3",
31
+ "@vegastack/typescript-config": "0.0.0"
32
+ },
33
+ "publishConfig": {
34
+ "access": "public",
35
+ "provenance": true
36
+ },
37
+ "scripts": {
38
+ "build": "node build-tokens.mjs && node ../../tooling/contrast-check.mjs dist/theme.css && tsup src/tokens.ts --format esm --dts --out-dir dist",
39
+ "lint": "node ../../tooling/contrast-check.mjs dist/theme.css && node ../../tooling/design-lint.mjs --token-css src",
40
+ "typecheck": "tsc --noEmit"
41
+ }
42
+ }