forked from scio-labs/use-inkathon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 3.2 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
{
"name": "@scio-labs/use-inkathon",
"author": "Scio Labs <[email protected]> (https://scio.xyz)",
"version": "0.6.1",
"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 <=20",
"pnpm": "8"
},
"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",
"type-check": "tsc --pretty --noEmit",
"lint": "prettier . --check && pnpm eslint",
"lint:fix": "prettier . --write && pnpm eslint --fix",
"lint:format": "prettier . --write",
"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/types": ">=10",
"@polkadot/util": ">=10",
"@polkadot/util-crypto": ">=10",
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@types/node": "^20.10.0",
"@types/react": "^18.2.38",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"concurrently": "^8.2.2",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-react": "^7.33.2",
"lint-staged": "^15.1.0",
"prettier": "^3.1.0",
"simple-git-hooks": "^2.9.0",
"tsup": "^8.0.1",
"typedoc": "^0.25.3",
"typescript": "^5.3.2"
}
}