Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.03 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 2.03 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
{
"name": "@kit-helpers/renderer-react-hooks",
"version": "0.2.0",
"description": "React hooks renderer for Solana programs, wrapping the generated Kit client with React state management",
"exports": {
"types": "./dist/types/index.d.ts",
"react-native": "./dist/index.react-native.mjs",
"browser": {
"import": "./dist/index.browser.mjs",
"require": "./dist/index.browser.cjs"
},
"node": {
"import": "./dist/index.node.mjs",
"require": "./dist/index.node.cjs"
}
},
"browser": {
"./dist/index.node.cjs": "./dist/index.browser.cjs",
"./dist/index.node.mjs": "./dist/index.browser.mjs"
},
"main": "./dist/index.node.cjs",
"module": "./dist/index.node.mjs",
"react-native": "./dist/index.react-native.mjs",
"types": "./dist/types/index.d.ts",
"type": "commonjs",
"files": [
"./dist/types",
"./dist/index.*"
],
"sideEffects": false,
"keywords": [
"solana",
"codama",
"react",
"hooks",
"renderer"
],
"scripts": {
"build": "rimraf dist && tsup && tsc -p ./tsconfig.declarations.json",
"dev": "vitest --project node",
"test": "pnpm test:types && pnpm test:unit",
"test:types": "tsc --noEmit",
"test:unit": "vitest run"
},
"dependencies": {
"@codama/nodes": "^1.11.0",
"@codama/renderers-core": "^1.4.1",
"@codama/visitors-core": "^1.11.0",
"prettier": "^3.9.7"
},
"peerDependencies": {
"@codama/renderers-js": "^2.5.0"
},
"devDependencies": {
"@types/node": "^26.6.1",
"@types/react": "^19.3.0",
"happy-dom": "^20.14.5",
"rimraf": "^6.1.3",
"tsup": "^8.5.1",
"typescript": "^7.0.2",
"vitest": "^5.0.1"
},
"license": "MIT",
"browserslist": [
"supports bigint and not dead",
"maintained node versions"
],
"engines": {
"node": ">=20.18.0"
}
}