-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 1.75 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 1.75 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "@darkroomengineering/fitbox",
"version": "0.2.1",
"description": "Reflow-free text-to-box fitting for React, built on Pretext.",
"type": "module",
"sideEffects": false,
"author": "darkroom.engineering",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/darkroomengineering/fitbox.git"
},
"keywords": [
"fit",
"text",
"fitty",
"pretext",
"react",
"react-router",
"typography",
"clamp",
"fluid"
],
"exports": {
".": {
"types": "./dist/core/index.d.ts",
"import": "./dist/core/index.js"
},
"./react": {
"types": "./dist/react/index.d.ts",
"import": "./dist/react/index.js"
},
"./server": {
"types": "./dist/server/index.d.ts",
"import": "./dist/server/index.js"
}
},
"files": ["dist"],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"playground": "bun --cwd playground dev",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"typecheck:fast": "tsgo --noEmit",
"lint": "biome check src",
"prepare": "husky"
},
"dependencies": {
"@chenglou/pretext": "^0.0.8"
},
"peerDependencies": {
"react": ">=19.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@biomejs/biome": "^2.5.1",
"@types/react": "^19.0.0",
"@typescript/native-preview": "^7.0.0-dev.20260623.1",
"husky": "^9.1.7",
"lint-staged": "^17.0.8",
"react": "^19.0.0",
"tsup": "^8.5.1",
"typescript": "^6.0.3",
"vitest": "^4.1.9"
},
"lint-staged": {
"src/**/*.{ts,tsx,js,jsx,json}": ["biome check --write --no-errors-on-unmatched"]
},
"overrides": {
"esbuild": "^0.28.1"
}
}