-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
156 lines (156 loc) · 4.07 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
{
"name": "@0xobelisk/sui-client",
"version": "1.0.0",
"description": "Tookit for interacting with move eps framework",
"keywords": [
"sui",
"obelisk labs",
"move",
"blockchain"
],
"author": "[email protected]",
"homepage": "https://github.com/0xobelisk/dubhe/tree/main/packages/sui-client#readme",
"bugs": "https://github.com/0xobelisk/dubhe/issues",
"repository": {
"type": "git",
"url": "https://github.com/0xobelisk/dubhe.git"
},
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18"
},
"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",
"format:fix": "prettier --ignore-path 'dist/* docs/*' --write '**/*.{ts,json,md}'",
"lint:fix": "eslint . --ignore-pattern dist --ext .ts --fix",
"commit": "commit",
"doc": "typedoc --out docs src/index.ts",
"chalk": "^5.0.1",
"prettier": "^2.8.4",
"prettier-plugin-rust": "^0.1.9"
},
"dependencies": {
"@mysten/bcs": "^1.0.4",
"@mysten/sui": "^1.7.0",
"@noble/curves": "^1.4.2",
"@noble/hashes": "^1.4.0",
"@scure/bip39": "^1.3.0",
"@mysten/zklogin": "^0.7.8",
"@graphql-typed-document-node/core": "^3.2.0",
"@suchipi/femver": "^1.0.0",
"assert": "^2.1.0",
"bech32": "^2.0.0",
"superstruct": "^1.0.3",
"ts-retry-promise": "^0.7.1",
"tweetnacl": "^1.0.3",
"colorts": "^0.1.63",
"husky": "^8.0.3",
"keccak256": "^1.0.6",
"process": "^0.11.10",
"gql.tada": "^1.7.0",
"graphql": "^16.8.1",
"tmp": "^0.2.1",
"valibot": "0.36.0"
},
"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": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"dotenv": "^16.3.1",
"eslint": "^8.52.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^5.0.1",
"lint-staged": "^15.0.2",
"prettier": "^2.8.8",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"tsup": "^7.1.0",
"typedoc": "^0.25.2",
"typescript": "^5.2.2"
},
"lint-staged": {
"**/*.ts": [
"pnpm run format:fix",
"pnpm run lint:fix"
],
"**/*.json|md": [
"pnpm run format:fix"
]
},
"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": "^_"
}
]
}
}
}