-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.29 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
{
"name": "@aptos-labs/aptos-client",
"description": "Client package for accessing the Aptos network API.",
"packageManager": "pnpm@8.3.1",
"license": "Apache-2.0",
"engines": {
"node": ">=15.10.0"
},
"exports": {
"browser": {
"require": "./dist/browser/index.browser.js",
"types": "./dist/browser/index.browser.d.ts",
"import": "./dist/browser/index.browser.mjs"
},
"node": {
"require": "./dist/node/index.node.js",
"types": "./dist/node/index.node.d.ts",
"import": "./dist/node/index.node.mjs"
}
},
"browser": {
"./dist/node/index.node.mjs": "./dist/browser/index.browser.mjs",
"./dist/node/index.node.js": "./dist/browser/index.browser.js"
},
"main": "./dist/node/index.node.js",
"module": "./dist/node/index.node.mjs",
"types": "./dist/types/index.node.d.ts",
"files": [
"./dist/"
],
"scripts": {
"build:clean": "rm -rf dist",
"build": "pnpm build:clean && pnpm run _build:types && pnpm _build:node && pnpm _build:browser",
"_build:browser": "tsup src/index.browser.ts --format cjs,esm --dts --out-dir dist/browser",
"_build:node": "tsup src/index.node.ts --format cjs,esm --dts --out-dir dist/node",
"_build:types": "tsc src/types.ts src/index.node.ts --outDir dist/types --declaration",
"lint": "eslint \"**/*.ts\"",
"fmt": "pnpm _fmt --write",
"_fmt": "prettier 'src/**/*.ts' '.eslintrc.js' '*.md'"
},
"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": {
"axios": "^1.7.7",
"got": "^11.8.6"
},
"devDependencies": {
"@types/node": "22.9.0",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.1.0",
"eslint-plugin-import": "2.31.0",
"prettier": "3.3.3",
"semver": "7.6.3",
"ts-node": "10.9.2",
"tsup": "8.3.5",
"typescript": "5.6.3"
},
"version": "1.0.0"
}