-
Notifications
You must be signed in to change notification settings - Fork 86
/
package.json
89 lines (89 loc) · 2.42 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
{
"name": "@dfinity/agent",
"version": "0.15.0",
"author": "DFINITY Stiftung <sdk@dfinity.org>",
"license": "Apache-2.0",
"description": "JavaScript and TypeScript library to interact with the Internet Computer",
"homepage": "https://internetcomputer.org",
"repository": {
"type": "git",
"url": "https://github.com/dfinity/agent-js.git",
"directory": "packages/agent"
},
"bugs": {
"url": "https://github.com/dfinity/agent-js/issues"
},
"keywords": [
"internet computer",
"internet-computer",
"ic",
"dfinity",
"agent",
"actor",
"dfx",
"canister",
"candid",
"motoko",
"javascript",
"typescript",
"blockchain",
"crypto",
"distributed",
"api",
"sdk"
],
"main": "./lib/cjs/index",
"module": "./lib/esm/index",
"unpkg": "./lib/esm/index",
"scripts": {
"build": "tsc -b && tsc -p tsconfig-cjs.json",
"build:watch": "tsc -b --watch",
"bundle": "esbuild --bundle src/index.ts --outfile=dist/index.js",
"eslint:fix": "npm run lint -- --fix",
"eslint": "eslint --ext '.js,.jsx,.ts,.tsx' src/index.ts src/auth.ts src/request_id.ts src/request_id.test.ts",
"lint": "npm run eslint",
"make:docs/reference": "typedoc src/index.ts --out ../../docs/generated/agent --excludeInternal",
"release": "npm publish",
"test": "jest --verbose",
"test:coverage": "jest --verbose --collectCoverage",
"tslint:fix": "npm run lint -- --fix",
"tslint": "tslint --project tsconfig.json --config tslint.json"
},
"peerDependencies": {
"@dfinity/candid": "^0.15.0",
"@dfinity/principal": "^0.15.0"
},
"dependencies": {
"base64-arraybuffer": "^0.2.0",
"bignumber.js": "^9.0.0",
"borc": "^2.1.1",
"js-sha256": "0.9.0",
"simple-cbor": "^0.4.1",
"ts-node": "^10.8.2"
},
"devDependencies": {
"@trust/webcrypto": "^0.9.2",
"@types/jest": "^28.1.4",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"esbuild": "^0.15.16",
"eslint": "^8.19.0",
"eslint-plugin-jsdoc": "^39.3.3",
"isomorphic-fetch": "^3.0.0",
"jest": "^28.1.2",
"size-limit": "^8.1.0",
"text-encoding": "^0.7.0",
"ts-jest": "^28.0.5",
"tslint": "^5.20.0",
"typedoc": "^0.22.11",
"typescript": "^4.7.4",
"whatwg-fetch": "^3.0.0"
},
"size-limit": [
{
"path": "./dist/index.js",
"limit": "100 kB",
"webpack": false
}
]
}