@scallop-io/sui-kit 2.0.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +33 -29
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scallop-io/sui-kit",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Toolkit for interacting with SUI network",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sui",
|
|
@@ -36,17 +36,46 @@
|
|
|
36
36
|
"dist",
|
|
37
37
|
"src"
|
|
38
38
|
],
|
|
39
|
+
"scripts": {
|
|
40
|
+
"clean": "rm -rf tsconfig.tsbuildinfo ./dist",
|
|
41
|
+
"build": "npm run build:types && npm run build:prod",
|
|
42
|
+
"build:prod": "tsup --env.NODE_ENV production",
|
|
43
|
+
"build:dev": "tsup",
|
|
44
|
+
"build:types": "tsc --build",
|
|
45
|
+
"watch:tsup": "tsup --watch",
|
|
46
|
+
"watch": "pnpm run clean && pnpm run watch:tsup",
|
|
47
|
+
"test": "pnpm test:typecheck && pnpm test:unit && pnpm test:integration",
|
|
48
|
+
"test:typecheck": "tsc -p ./test",
|
|
49
|
+
"test:unit": "vitest run test/unit --test-timeout=60000",
|
|
50
|
+
"test:integration": "vitest run test/integration --test-timeout=60000",
|
|
51
|
+
"test:watch": "vitest",
|
|
52
|
+
"test:coverage-unit": "vitest run test/unit --coverage --test-timeout=60000",
|
|
53
|
+
"test:coverage-integration": "vitest run test/integration --coverage --test-timeout=60000",
|
|
54
|
+
"test:coverage": "vitest run --coverage --test-timeout=60000",
|
|
55
|
+
"format:fix": "prettier --ignore-path 'dist/* docs/*' --write '**/*.{ts,json,md}'",
|
|
56
|
+
"lint:fix": "eslint . --ignore-pattern dist --ext .ts --fix",
|
|
57
|
+
"prepare": "husky install",
|
|
58
|
+
"commit": "commit",
|
|
59
|
+
"release": "standard-version -f",
|
|
60
|
+
"release:major": "standard-version -r major",
|
|
61
|
+
"release:minor": "standard-version -r minor",
|
|
62
|
+
"release:patch": "standard-version -r patch",
|
|
63
|
+
"doc": "typedoc --out docs src/index.ts"
|
|
64
|
+
},
|
|
39
65
|
"dependencies": {
|
|
40
|
-
"@mysten/bcs": "^2.0.
|
|
41
|
-
"@mysten/sui": "^2.0.0",
|
|
66
|
+
"@mysten/bcs": "^2.0.1",
|
|
42
67
|
"@scure/bip39": "^1.5.4",
|
|
43
68
|
"assert": "^2.1.0",
|
|
44
69
|
"bech32": "^2.0.0"
|
|
45
70
|
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"@mysten/sui": "^2.0.0"
|
|
73
|
+
},
|
|
46
74
|
"devDependencies": {
|
|
47
75
|
"@commitlint/cli": "^18.0.0",
|
|
48
76
|
"@commitlint/config-conventional": "^18.0.0",
|
|
49
77
|
"@commitlint/prompt-cli": "^18.0.0",
|
|
78
|
+
"@mysten/sui": "^2.14.1",
|
|
50
79
|
"@protobuf-ts/grpcweb-transport": "^2.11.1",
|
|
51
80
|
"@protobuf-ts/runtime-rpc": "^2.11.1",
|
|
52
81
|
"@types/node": "^20.8.7",
|
|
@@ -133,30 +162,5 @@
|
|
|
133
162
|
}
|
|
134
163
|
]
|
|
135
164
|
}
|
|
136
|
-
},
|
|
137
|
-
"scripts": {
|
|
138
|
-
"clean": "rm -rf tsconfig.tsbuildinfo ./dist",
|
|
139
|
-
"build": "npm run build:types && npm run build:prod",
|
|
140
|
-
"build:prod": "tsup --env.NODE_ENV production",
|
|
141
|
-
"build:dev": "tsup",
|
|
142
|
-
"build:types": "tsc --build",
|
|
143
|
-
"watch:tsup": "tsup --watch",
|
|
144
|
-
"watch": "pnpm run clean && pnpm run watch:tsup",
|
|
145
|
-
"test": "pnpm test:typecheck && pnpm test:unit && pnpm test:integration",
|
|
146
|
-
"test:typecheck": "tsc -p ./test",
|
|
147
|
-
"test:unit": "vitest run test/unit --test-timeout=60000",
|
|
148
|
-
"test:integration": "vitest run test/integration --test-timeout=60000",
|
|
149
|
-
"test:watch": "vitest",
|
|
150
|
-
"test:coverage-unit": "vitest run test/unit --coverage --test-timeout=60000",
|
|
151
|
-
"test:coverage-integration": "vitest run test/integration --coverage --test-timeout=60000",
|
|
152
|
-
"test:coverage": "vitest run --coverage --test-timeout=60000",
|
|
153
|
-
"format:fix": "prettier --ignore-path 'dist/* docs/*' --write '**/*.{ts,json,md}'",
|
|
154
|
-
"lint:fix": "eslint . --ignore-pattern dist --ext .ts --fix",
|
|
155
|
-
"commit": "commit",
|
|
156
|
-
"release": "standard-version -f",
|
|
157
|
-
"release:major": "standard-version -r major",
|
|
158
|
-
"release:minor": "standard-version -r minor",
|
|
159
|
-
"release:patch": "standard-version -r patch",
|
|
160
|
-
"doc": "typedoc --out docs src/index.ts"
|
|
161
165
|
}
|
|
162
|
-
}
|
|
166
|
+
}
|