-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
113 lines (113 loc) · 3.32 KB
/
package.json
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
{
"name": "@scio-labs/use-inkathon",
"author": "Scio Labs <hello@scio.xyz> (https://scio.xyz)",
"version": "0.11.0",
"description": "Typesafe React Hooks abstracting functionality by polkadot.js for working with Substrate-based networks and ink! Smart Contracts.",
"homepage": "https://inkathon.xyz",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/scio-labs/use-inkathon"
},
"bugs": {
"url": "https://github.com/scio-labs/use-inkathon/issues"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18"
},
"packageManager": "pnpm@9.6.0",
"type": "module",
"main": "dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"LICENSE",
"README.md",
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./chains": {
"types": "./dist/chains.d.ts",
"import": "./dist/chains.js"
},
"./wallets": {
"types": "./dist/wallets.d.ts",
"import": "./dist/wallets.js"
},
"./helpers": {
"types": "./dist/helpers/index.d.ts",
"import": "./dist/helpers/index.js"
},
"./hooks": {
"types": "./dist/hooks/index.d.ts",
"import": "./dist/hooks/index.js"
},
"./types": {
"types": "./dist/types/index.d.ts",
"import": "./dist/types/index.js"
}
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"dev:react-example": "concurrently \"pnpm run dev\" \"pnpm run -F \"{examples/react-ts}\" dev\"",
"dev:scripts-example": "pnpm run build && pnpm run -F \"{examples/scripts-ts}\" script",
"node": "substrate-contracts-node --dev --port 9944 --base-path ./.node-data",
"lint": "prettier . --check && pnpm eslint .",
"lint:fix": "prettier . --write && pnpm eslint . --fix",
"lint:format": "prettier . --write",
"typecheck": "tsc --pretty --noEmit",
"typesync": "typesync && pnpm install",
"typedoc": "typedoc src/index.ts --titleLink \"https://github.com/scio-labs/use-inkathon\"",
"changeset:version": "pnpm run typedoc && changeset version",
"changeset:publish": "pnpm run build && changeset publish"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"pnpm lint:fix"
],
"*.{json,md,mdx,html,css,yml,yaml}": [
"pnpm lint:format"
]
},
"peerDependencies": {
"@nightlylabs/wallet-selector-polkadot": ">=0.1.10",
"@polkadot/api": ">=10",
"@polkadot/api-contract": ">=10",
"@polkadot/extension-inject": ">=0.46",
"@polkadot/keyring": ">=10",
"@polkadot/types": ">=10",
"@polkadot/util": ">=10",
"@polkadot/util-crypto": ">=10",
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@types/node": "^20.12.6",
"@types/react": "^18.3.3",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.35.0",
"lint-staged": "^15.2.2",
"prettier": "^3.3.3",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.0.2",
"typedoc": "^0.26.5",
"typescript": "^5.5.4",
"typesync": "^0.13.0"
}
}