forked from MystenLabs/sui
/
package.json
101 lines (101 loc) · 2.68 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
{
"name": "@mysten/dapp-kit",
"author": "Mysten Labs <build@mystenlabs.com>",
"description": "A collection of React hooks and components for interacting with the Sui blockchain and wallets.",
"homepage": "https://sdk.mystenlabs.com/typescript",
"version": "0.13.0",
"license": "Apache-2.0",
"files": [
"CHANGELOG.md",
"LICENSE",
"README.md",
"dist",
"src"
],
"type": "commonjs",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./dist/index.css": {
"import": "./dist/esm/index.css",
"require": "./dist/cjs/index.css"
}
},
"scripts": {
"clean": "rm -rf tsconfig.tsbuildinfo ./dist",
"build": "build-dapp-kit",
"test": "pnpm test:typecheck && pnpm vitest",
"test:typecheck": "tsc -b ./test",
"prepublishOnly": "pnpm build",
"size": "size-limit",
"analyze": "size-limit --why",
"prettier:check": "prettier -c --ignore-unknown .",
"prettier:fix": "prettier -w --ignore-unknown .",
"eslint:check": "eslint --max-warnings=0 .",
"eslint:fix": "pnpm run eslint:check --fix",
"lint": "pnpm run eslint:check && pnpm run prettier:check",
"lint:fix": "pnpm run eslint:fix && pnpm run prettier:fix"
},
"bugs": {
"url": "https://github.com/MystenLabs/sui/issues/new"
},
"publishConfig": {
"access": "public"
},
"size-limit": [
{
"path": "dist/esm/index.js",
"limit": "100 KB"
},
{
"path": "dist/cjs/index.js",
"limit": "100 KB"
}
],
"devDependencies": {
"@mysten/build-scripts": "workspace:*",
"@size-limit/preset-small-lib": "^8.2.6",
"@tanstack/react-query": "^5.0.0",
"@testing-library/dom": "^9.3.1",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/react": "^18.2.15",
"@types/testing-library__jest-dom": "^5.14.9",
"@vanilla-extract/esbuild-plugin": "^2.3.0",
"@vanilla-extract/vite-plugin": "^3.9.0",
"jsdom": "^23.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^8.2.6",
"typescript": "^5.3.3",
"vite": "^4.4.4",
"vitest": "^0.33.0"
},
"dependencies": {
"@mysten/sui.js": "workspace:*",
"@mysten/wallet-standard": "workspace:*",
"@mysten/zksend": "workspace:*",
"@radix-ui/react-dialog": "^1.0.4",
"@radix-ui/react-dropdown-menu": "^2.0.5",
"@radix-ui/react-slot": "^1.0.2",
"@vanilla-extract/css": "^1.13.0",
"@vanilla-extract/dynamic": "^2.0.3",
"@vanilla-extract/recipes": "^0.5.0",
"clsx": "^2.0.0",
"zustand": "^4.4.1"
},
"peerDependencies": {
"@tanstack/react-query": "^5.0.0",
"react": "*"
},
"sideEffects": [
"*.css.ts",
"*.css"
]
}