-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.17 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
{
"name": "@osn/common",
"version": "0.0.0",
"description": "Common utils",
"publishConfig": {
"access": "public"
},
"author": "OpenSquare <https://www.opensquare.network/>",
"license": "Apache-2.0",
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"files": [
"dist"
],
"main": "dist/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": {
"import": "./dist/esm/*",
"require": "./dist/*"
},
"./es": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./es/*": {
"import": "./dist/esm/*",
"require": "./dist/*"
},
"./extension": {
"import": "./dist/esm/extension.js",
"require": "./dist/extension.js",
"types": "./dist/extension.d.ts"
},
"./hooks": {
"import": "./dist/esm/hooks/index.js",
"require": "./dist/hooks/index.js",
"types": "./dist/hooks/index.d.ts"
},
"./hooks/*": {
"import": "./dist/esm/hooks/*",
"require": "./dist/hooks/*"
}
},
"scripts": {
"build": "tsup",
"test": "vitest run",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@osn/provider-options": "^1.0.2",
"bignumber.js": "^9.1.0",
"lodash.debounce": "^4.0.8"
},
"peerDependencies": {
"@osn/constants": "^1.1.2",
"@polkadot/api": "*",
"@polkadot/extension-dapp": "*",
"@polkadot/util": "*",
"@polkadot/util-crypto": "*",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@2nthony/prettier-config": "1.0.1",
"@osn/constants": "^1.1.2",
"@polkadot/api": "^9.2.2",
"@polkadot/extension-dapp": "^0.44.2-3",
"@polkadot/util": "^10.1.4",
"@polkadot/util-crypto": "^10.1.4",
"@types/react": "^18.0.17",
"prettier": "2.5.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tsup": "6.0.1",
"typescript": "^4.7.4",
"vitest": "0.12.6"
}
}