-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.75 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 3.75 KB
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
{
"name": "@aptos-labs/aptos-client",
"description": "Client package for accessing the Aptos network API.",
"packageManager": "pnpm@10.30.1",
"license": "Apache-2.0",
"engines": {
"node": ">=22.0.0"
},
"exports": {
".": {
"deno": {
"types": "./dist/fetch/index.fetch.d.mts",
"import": "./dist/fetch/index.fetch.mjs"
},
"bun": {
"types": "./dist/fetch/index.fetch.d.mts",
"import": "./dist/fetch/index.fetch.mjs"
},
"browser": {
"import": {
"types": "./dist/browser/index.browser.d.mts",
"default": "./dist/browser/index.browser.mjs"
},
"require": {
"types": "./dist/browser/index.browser.d.ts",
"default": "./dist/browser/index.browser.js"
}
},
"react-native": {
"import": {
"types": "./dist/fetch/index.fetch.d.mts",
"default": "./dist/fetch/index.fetch.mjs"
},
"require": {
"types": "./dist/fetch/index.fetch.d.ts",
"default": "./dist/fetch/index.fetch.js"
}
},
"node": {
"import": {
"types": "./dist/node/index.node.d.mts",
"default": "./dist/node/index.node.mjs"
},
"require": {
"types": "./dist/node/index.node.d.ts",
"default": "./dist/node/index.node.js"
}
},
"default": {
"import": {
"types": "./dist/fetch/index.fetch.d.mts",
"default": "./dist/fetch/index.fetch.mjs"
},
"require": {
"types": "./dist/fetch/index.fetch.d.ts",
"default": "./dist/fetch/index.fetch.js"
}
}
}
},
"browser": {
"./dist/node/index.node.mjs": "./dist/browser/index.browser.mjs",
"./dist/node/index.node.js": "./dist/browser/index.browser.js"
},
"react-native": {
"./dist/node/index.node.mjs": "./dist/fetch/index.fetch.mjs",
"./dist/node/index.node.js": "./dist/fetch/index.fetch.js"
},
"main": "./dist/node/index.node.js",
"module": "./dist/node/index.node.mjs",
"sideEffects": false,
"types": "./dist/node/index.node.d.ts",
"files": [
"./dist/"
],
"scripts": {
"build:clean": "rm -rf dist",
"build": "pnpm build:clean && tsup",
"test": "tsx --test --test-force-exit test/node.test.ts test/fetch.test.ts test/browser.test.ts test/cookieJar.test.ts",
"test:node": "tsx --test --test-force-exit test/node.test.ts",
"test:fetch": "tsx --test --test-force-exit test/fetch.test.ts",
"test:browser": "tsx --test --test-force-exit test/browser.test.ts",
"test:deno": "deno test --allow-net=127.0.0.1 --allow-run=npx --allow-read=. --allow-env --unsafely-ignore-certificate-errors=127.0.0.1 test/deno.integration.ts",
"test:bun": "bun test ./test/bun.integration.ts",
"test:build": "pnpm build && tsx --test --test-force-exit test/build.test.ts",
"lint": "biome check",
"lint:fix": "biome check --write",
"fmt": "biome format --write",
"typecheck": "tsc --noEmit && tsc --project tsconfig.test.json --noEmit",
"check": "biome check"
},
"repository": {
"type": "git",
"url": "https://github.com/aptos-labs/aptos-client.git"
},
"homepage": "https://github.com/aptos-labs/aptos-client",
"bugs": {
"url": "https://github.com/aptos-labs/aptos-client/issues"
},
"author": "aptoslabs.com",
"keywords": [
"Aptos",
"Aptos Labs",
"Aptos SDK"
],
"peerDependencies": {
"undici": "^7.24.1"
},
"peerDependenciesMeta": {
"undici": {
"optional": true
}
},
"devDependencies": {
"@biomejs/biome": "^2.4.6",
"@types/node": "^22.19.15",
"tsx": "^4.21.0",
"esbuild": "^0.27.4",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"undici": "^7.24.1"
},
"version": "3.0.1"
}