forked from scio-labs/use-inkathon
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
143 lines (143 loc) · 4.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
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
136
137
138
139
140
141
142
143
{
"name": "@poppyseed/lastic-sdk",
"author": "Lastic <[email protected]> (https://lastic.xyz)",
"version": "0.2.20",
"description": "Typesafe React Hooks abstracting functionality of polkadot.js, created for Lastic website",
"homepage": "https://lastic.xyz",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/LasticXYZ/lastic-sdk"
},
"bugs": {
"url": "https://github.com/LasticXYZ/lastic-sdk/issues"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18",
"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",
"prepare": "husky",
"pre-commit": "pnpm version patch --no-git-tag-version && git add package.json"
},
"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": {
"@polkadot/api": ">=11",
"@polkadot/api-contract": ">=11",
"@polkadot/extension-inject": ">=0.46",
"@polkadot/types": ">=11",
"@polkadot/util": ">=11",
"@polkadot/util-crypto": ">=10",
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.27.1",
"@types/node": "^18.19.8",
"@types/react": "^18.2.48",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"concurrently": "^8.2.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.33.2",
"husky": "^9.0.11",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"simple-git-hooks": "^2.9.0",
"tsup": "^7.2.0",
"typedoc": "^0.25.7",
"typescript": "^5.3.3"
},
"dependencies": {
"@changesets/cli": "^2.27.5",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@mui/material": "^5.15.20",
"@polkadot/api": "^11.3.1",
"@polkadot/api-contract": "^11.3.1",
"@polkadot/extension-dapp": "^0.46.9",
"@polkadot/extension-inject": "^0.46.9",
"@polkadot/types": "^11.3.1",
"@polkadot/util": "^12.6.2",
"@poppyseed/lastic-sdk": "link:",
"@types/node": "^20.14.8",
"@types/react": "^18.3.3",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.34.3",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^5.2.1",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.1.0",
"typedoc": "^0.25.13",
"typescript": "^5.5.2"
}
}