Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 1.91 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 1.91 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
79
80
81
82
83
{
"name": "css-anchor-kit",
"version": "1.4.0",
"description": "Native CSS Anchor Positioning for React — floating-ui ergonomics, zero runtime positioning JS.",
"type": "module",
"license": "MIT",
"author": "mk668a",
"homepage": "https://github.com/mk668a/css-anchor-kit",
"repository": {
"type": "git",
"url": "git+https://github.com/mk668a/css-anchor-kit.git"
},
"keywords": [
"css-anchor-positioning",
"anchor-positioning",
"floating-ui",
"popover",
"tooltip",
"dropdown",
"react",
"headless",
"positioning"
],
"sideEffects": false,
"files": [
"dist"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"css-anchor-kit": "./dist/cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./core": {
"types": "./dist/core.d.ts",
"import": "./dist/core.js",
"require": "./dist/core.cjs"
},
"./containing-block": {
"types": "./dist/containingBlock.d.ts",
"import": "./dist/containingBlock.js",
"require": "./dist/containingBlock.cjs"
}
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"react": ">=18.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@testing-library/react": "^16.1.0",
"@types/jscodeshift": "^17.3.0",
"@types/node": "^25.9.1",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"happy-dom": "^15.11.7",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"dependencies": {
"jscodeshift": "^17.3.0"
}
}