-
Notifications
You must be signed in to change notification settings - Fork 88
/
package.json
81 lines (81 loc) · 2.2 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
{
"name": "@dfinity/agent",
"version": "0.11.2",
"author": "DFINITY Stiftung <sdk@dfinity.org>",
"license": "Apache-2.0",
"description": "JavaScript and TypeScript library to interact with the Internet Computer",
"homepage": "https://smartcontracts.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",
"scripts": {
"build": "tsc -b && tsc -p tsconfig-cjs.json",
"build:watch": "tsc -b --watch",
"bundle": "npm run build",
"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.11.2",
"@dfinity/principal": "^0.11.2"
},
"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"
},
"devDependencies": {
"@trust/webcrypto": "^0.9.2",
"@types/jest": "^26.0.22",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
"eslint": "^7.19.0",
"eslint-plugin-jsdoc": "^31.6.0",
"jest": "^27.3.1",
"node-fetch": "^2.6.7",
"text-encoding": "^0.7.0",
"ts-jest": "^27.0.7",
"tslint": "^5.20.0",
"typedoc": "^0.22.11",
"typescript": "^3.6.3",
"whatwg-fetch": "^3.0.0"
},
"jest": {
"preset": "ts-jest"
}
}