@leta-io/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,52 @@
1
+ {
2
+ "name": "@leta-io/design-tokens",
3
+ "version": "0.1.0",
4
+ "description": "LETA design tokens — generated from Figma. Do not hand-edit dist/.",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/ifeanyi-99/LETA-Playground.git",
8
+ "directory": "packages/design-tokens"
9
+ },
10
+ "publishConfig": {
11
+ "registry": "https://registry.npmjs.org",
12
+ "access": "public"
13
+ },
14
+ "type": "module",
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "main": "./dist/index.js",
19
+ "types": "./dist/index.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "import": "./dist/index.js",
23
+ "types": "./dist/index.d.ts"
24
+ },
25
+ "./fonts": {
26
+ "import": "./dist/fonts.js"
27
+ },
28
+ "./css": "./dist/tokens.css",
29
+ "./text-styles.css": "./dist/text-styles.css",
30
+ "./scroll-utilities.css": "./dist/scroll-utilities.css",
31
+ "./map-elevation.css": "./dist/map-elevation.css",
32
+ "./dark-elevation.css": "./dist/dark-elevation.css",
33
+ "./tailwind": "./dist/tailwind.preset.cjs"
34
+ },
35
+ "peerDependencies": {
36
+ "react": "^18.0.0 || ^19.0.0"
37
+ },
38
+ "devDependencies": {
39
+ "@types/react": "^19.0.0",
40
+ "react": "^19.0.0",
41
+ "tsup": "^8.3.0",
42
+ "typescript": "^5.7.0"
43
+ },
44
+ "dependencies": {
45
+ "@fontsource-variable/inter": "^5.2.8"
46
+ },
47
+ "scripts": {
48
+ "build": "tsup src/index.ts src/fonts.ts --format esm --dts --out-dir dist --external react && cp src/scroll-utilities.css dist/scroll-utilities.css && cp src/map-elevation.css dist/map-elevation.css && cp src/dark-elevation.css dist/dark-elevation.css && pnpm --filter @leta/cli tokens:generate",
49
+ "lint": "eslint src",
50
+ "typecheck": "tsc --noEmit"
51
+ }
52
+ }