-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.92 KB
/
package.json
File metadata and controls
80 lines (80 loc) · 2.92 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
{
"name": "open-libra-sdk",
"version": "1.1.5",
"description": "A minimalist Typescript library for interacting with the Open Libra blockchain.",
"homepage": "https://github.com/0LNetworkCommunity/open-libra-sdk#readme",
"bugs": {
"url": "https://github.com/0LNetworkCommunity/open-libra-sdk/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/0LNetworkCommunity/open-libra-sdk.git"
},
"license": "UNLICENSED",
"author": "",
"type": "module",
"main": "./dist/esm/index.mjs",
"module": "./dist/esm/index.mjs",
"browser": "./dist/browser/index.js",
"react-native": "./dist/browser/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"browser": "./dist/browser/index.js",
"react-native": "./dist/browser/index.js",
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.cjs",
"default": "./dist/esm/index.mjs"
}
},
"files": [
"dist",
"src"
],
"directories": {
"example": "examples",
"test": "tests"
},
"scripts": {
"lint": "eslint './{src,tests}/**/*.{ts,tsx}' && prettier --check './{src,tests}/**/*.{ts,tsx}' && bunx tsc --noEmit --skipLibCheck",
"types-check": "bunx tsc --noEmit --skipLibCheck",
"format": "eslint --fix './{src,tests}/**/*.{ts,tsx}' && prettier --no-config --write './{src,tests}/**/*.{ts,tsx}'",
"release:browser": "bun build src/indexBrowser.ts --outdir=dist/browser --entry-naming='[dir]/index.js' --target=browser --format=cjs --minify --tree-shaking=true --sourcemap",
"release:cjs": "bun build src/index.ts --outdir=dist/cjs --entry-naming='[dir]/index.cjs' --target=node --format=cjs --minify --tree-shaking=true --sourcemap",
"release:esm": "bun build src/index.ts --outdir=dist/esm --target=node --entry-naming='[dir]/index.mjs' --format=esm --minify --tree-shaking=true --sourcemap",
"release:ts-types": "tsc --emitDeclarationOnly --project tsconfig.types.json",
"release": "rm -rf dist && bun release:ts-types && bun release:cjs && bun release:esm && bun release:browser",
"testnet": "cd src/local_testnet/container && docker compose up --detach --timeout 600",
"testnet-stop": "cd src/local_testnet/container && docker compose stop"
},
"dependencies": {
"@aptos-labs/ts-sdk": "^1.33.2",
"@noble/curves": "^1.8.1",
"@noble/hashes": "^1.7.1",
"@scure/bip39": "^1.5.4",
"axios": "^1.7.9"
},
"devDependencies": {
"@eslint/js": "^9.19.0",
"@types/bun": "latest",
"@typescript-eslint/eslint-plugin": "^8.23.0",
"@typescript-eslint/parser": "^8.23.0",
"eslint": "^9.19.0",
"globals": "^15.14.0",
"prettier": "^3.4.2",
"typescript-eslint": "^8.22.0",
"docker-compose": "^1.1.1"
},
"peerDependencies": {
"typescript": "^5.7.3"
},
"keywords": [
"libra",
"blockchain",
"react-native",
"typescript",
"sdk"
],
"sideEffects": false
}