forked from dark-princezz/stellar-hooks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 3.98 KB
/
Copy pathpackage.json
File metadata and controls
135 lines (135 loc) · 3.98 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "stellar-hooks",
"version": "0.1.0",
"sideEffects": false,
"description": "React hooks for Stellar and Soroban — useFreighter, useStellarAccount, useSorobanContract, useTransaction, and more.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean --treeshake --external react,@stellar/stellar-sdk,@stellar/stellar-sdk/rpc,@stellar/stellar-sdk/contract,@stellar/freighter-api,@walletconnect/sign-client,@creit-tech/stellar-wallets-kit/sdk",
"build:types-package": "npm --prefix packages/types run build",
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
"lint": "eslint src --ext .ts,.tsx",
"typecheck": "tsc --noEmit",
"test": "NODE_OPTIONS=\"--experimental-require-module\" vitest run",
"test:watch": "vitest",
"prepare": "husky",
"prepublishOnly": "npm run build",
"release": "semantic-release",
"release:dry-run": "semantic-release --dry-run",
"size": "npm run build && size-limit",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"docs:typedoc": "typedoc",
"docs:typedoc:all": "npm run docs:typedoc && cd packages/query && npm run docs:build && cd ../swr && npm run docs:build && cd ../..",
"docs:clean": "rm -rf docs/api"
},
"size-limit": [
{
"path": "dist/index.mjs",
"limit": "200 KB"
},
{
"path": "dist/index.js",
"limit": "200 KB"
}
],
"keywords": [
"stellar",
"soroban",
"react",
"hooks",
"web3",
"freighter",
"blockchain",
"dapp",
"typescript"
],
"author": "stellar-hooks contributors",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/spiffamani/stellar-hooks.git"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"peerDependencies": {
"@walletconnect/sign-client": ">=2.0.0",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"peerDependenciesMeta": {
"@walletconnect/sign-client": {
"optional": true
}
},
"dependencies": {
"@stellar/freighter-api": "^6.0.1",
"@stellar/stellar-sdk": "^13.0.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@commitlint/cli": "^21.1.0",
"@commitlint/config-conventional": "^21.1.0",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/commit-analyzer": "13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "12.0.8",
"@semantic-release/npm": "13.1.5",
"@semantic-release/release-notes-generator": "^14.1.1",
"@size-limit/preset-small-lib": "^12.1.0",
"@tanstack/react-query": "^5.101.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^14.3.1",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^25.9.1",
"@types/react": "^18.3.0",
"@types/react-test-renderer": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"@walletconnect/sign-client": "^2.23.9",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"husky": "^9.1.7",
"jsdom": "^29.1.1",
"lint-staged": "^15.5.0",
"react": "^18.3.0",
"react-dom": "^18.3.1",
"react-test-renderer": "^18.3.0",
"semantic-release": "25.0.3",
"size-limit": "^12.1.0",
"tsup": "^8.0.0",
"typedoc": "^0.28.19",
"typedoc-plugin-markdown": "^4.12.0",
"typescript": "^5.4.0",
"vite": "^5.0.0",
"vitepress": "^1.5.0",
"vitest": "^1.6.0"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --fix"
}
}