@suigar/sdk 2.0.0-beta.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 ADDED
@@ -0,0 +1,80 @@
1
+ {
2
+ "name": "@suigar/sdk",
3
+ "version": "2.0.0-beta.0",
4
+ "description": "TypeScript SDK for Suigar v2 Move contracts on Sui.",
5
+ "license": "Apache-2.0",
6
+ "type": "module",
7
+ "sideEffects": false,
8
+ "files": [
9
+ "dist",
10
+ "CHANGELOG.md",
11
+ "README.md"
12
+ ],
13
+ "main": "./dist/index.cjs",
14
+ "module": "./dist/index.js",
15
+ "types": "./dist/index.d.ts",
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "import": "./dist/index.js",
20
+ "require": "./dist/index.cjs"
21
+ }
22
+ },
23
+ "engines": {
24
+ "node": ">=22"
25
+ },
26
+ "scripts": {
27
+ "build": "npm run clean && npm run codegen && tsup",
28
+ "build:ci": "rm -rf dist && tsup",
29
+ "clean": "rm -rf dist src/contracts .vitest-cache",
30
+ "codegen": "sui-ts-codegen generate",
31
+ "changeset": "changeset",
32
+ "format": "prettier --write .",
33
+ "lint": "eslint . --fix && npm run format",
34
+ "prepare": "husky",
35
+ "release": "changeset publish",
36
+ "test": "vitest run",
37
+ "typecheck": "tsc --noEmit",
38
+ "version-packages": "changeset version"
39
+ },
40
+ "repository": {
41
+ "type": "git",
42
+ "url": "git+https://github.com/Suigar-Gaming/sdk.git"
43
+ },
44
+ "publishConfig": {
45
+ "access": "public"
46
+ },
47
+ "bugs": {
48
+ "url": "https://github.com/Suigar-Gaming/sdk/issues"
49
+ },
50
+ "homepage": "https://docs.suigar.com/sdk",
51
+ "peerDependencies": {
52
+ "@mysten/bcs": "^2.0.3",
53
+ "@mysten/sui": "^2.16.0"
54
+ },
55
+ "devDependencies": {
56
+ "@changesets/cli": "^2.31.0",
57
+ "@eslint/js": "^10.0.1",
58
+ "@mysten/bcs": "^2.0.3",
59
+ "@mysten/codegen": "^0.9.0",
60
+ "@mysten/sui": "^2.16.0",
61
+ "@types/node": "^24.0.0",
62
+ "eslint": "^10.2.1",
63
+ "eslint-config-prettier": "^10.1.8",
64
+ "husky": "^9.1.7",
65
+ "lint-staged": "^16.4.0",
66
+ "prettier": "^3.8.3",
67
+ "tsup": "^8.5.1",
68
+ "tsx": "^4.21.0",
69
+ "typescript": "^5.9.3",
70
+ "typescript-eslint": "^8.59.0",
71
+ "vitest": "^4.1.5"
72
+ },
73
+ "lint-staged": {
74
+ "*.{ts,tsx,js,mjs,cjs}": [
75
+ "eslint --fix",
76
+ "prettier --write"
77
+ ],
78
+ "*.{json,md,yml,yaml}": "prettier --write"
79
+ }
80
+ }