-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathpackage.json
159 lines (159 loc) · 4.13 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "@scallop-io/sui-kit",
"version": "1.3.2",
"description": "Tookit for interacting with SUI network",
"keywords": [
"sui",
"scallop labs",
"move",
"blockchain",
"sui-kit"
],
"author": "[email protected]",
"homepage": "https://github.com/scallop-io/sui-kit#readme",
"bugs": "https://github.com/scallop-io/sui-kit/issues",
"repository": {
"type": "git",
"url": "https://github.com/scallop-io/sui-kit.git"
},
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=16"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"source": "./src/index.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"files": [
"dist",
"src"
],
"scripts": {
"clean": "rm -rf tsconfig.tsbuildinfo ./dist",
"build": "npm run build:types && npm run build:tsup",
"build:tsup": "tsup ./src/index.ts --format esm,cjs --sourcemap",
"build:types": "tsc --build",
"watch:tsup": "tsup ./src/index.ts --format esm,cjs --clean --splitting --watch",
"watch:types": "tsc --watch",
"watch": "pnpm run clean & pnpm run watch:types & pnpm run watch:tsup",
"test": "pnpm test:typecheck && pnpm test:unit",
"test:typecheck": "tsc -p ./test",
"test:unit": "vitest run --test-timeout=60000",
"test:watch": "vitest",
"format:fix": "prettier --ignore-path 'dist/* docs/*' --write '**/*.{ts,json,md}'",
"lint:fix": "eslint . --ignore-pattern dist --ext .ts --fix",
"prepare": "husky install",
"commit": "commit",
"release": "standard-version -f",
"release:major": "standard-version -r major",
"release:minor": "standard-version -r minor",
"release:patch": "standard-version -r patch",
"doc": "typedoc --out docs src/index.ts"
},
"dependencies": {
"@mysten/bcs": "^1.2.0",
"@mysten/sui": "^1.3.1",
"@noble/curves": "^1.4.2",
"@noble/hashes": "^1.4.0",
"@scure/bip39": "^1.3.0",
"assert": "^2.1.0",
"bech32": "^2.0.0",
"superstruct": "^1.0.3",
"ts-retry-promise": "^0.7.1",
"tweetnacl": "^1.0.3"
},
"devDependencies": {
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"@commitlint/prompt-cli": "^18.0.0",
"@types/node": "^20.8.7",
"@types/tmp": "^0.2.5",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "8.10.0",
"dotenv": "^16.3.1",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"standard-version": "^9.5.0",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"tsup": "^7.2.0",
"typedoc": "^0.25.2",
"typescript": "5.5.4",
"valibot": "^0.36.0",
"vitest": "^0.34.6"
},
"lint-staged": {
"**/*.ts": [
"pnpm run format:fix",
"pnpm run lint:fix"
],
"**/*.json|md": [
"pnpm run format:fix"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"useTabs": false,
"quoteProps": "as-needed",
"bracketSpacing": true,
"arrowParens": "always",
"endOfLine": "lf"
},
"eslintConfig": {
"root": true,
"env": {
"browser": true,
"node": true,
"es2022": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:prettier/recommended"
],
"plugins": [
"@typescript-eslint",
"prettier"
],
"parser": "@typescript-eslint/parser",
"rules": {
"prettier/prettier": "warn",
"@typescript-eslint/no-explicit-any": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
]
}
}
}