This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
99 lines (99 loc) · 3.24 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
90
91
92
93
94
95
96
97
98
99
{
"name": "@tbdex/protocol",
"version": "2.2.1",
"type": "module",
"description": "Library that includes type definitions for tbdex messages",
"license": "Apache-2.0",
"homepage": "https://github.com/TBD54566975/tbdex-js/tree/main/packages/protocol#readme",
"bugs": "https://github.com/TBD54566975/tbdex-js/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/TBD54566975/tbdex-js",
"directory": "packages/protocol"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"contributors": [
{
"name": "Jiyoon Koo",
"url": "https://github.com/jiyoontbd"
},
{
"name": "Moe Jangda",
"url": "https://github.com/mistermoe"
},
{
"name": "Phoebe Lew",
"url": "https://github.com/phoebe-lew"
},
{
"name": "Ethan Lee",
"url": "https://github.com/ethan-tbd"
}
],
"files": [
"dist",
"src"
],
"main": "./dist/cjs/src/main.js",
"module": "./dist/esm/src/main.js",
"types": "./dist/types/src/main.d.ts",
"exports": {
".": {
"import": "./dist/esm/src/main.js",
"require": "./dist/cjs/src/main.js",
"types": "./dist/types/src/main.d.ts"
},
"./browser": {
"import": "./dist/browser.mjs",
"require": "./dist/browser.js",
"types": "./dist/types/src/main.d.ts"
}
},
"dependencies": {
"@noble/hashes": "1.3.3",
"@types/node": "^7.0.5",
"@web5/common": "1.0.1",
"@web5/credentials": "1.1.0",
"@web5/crypto": "1.0.1",
"@web5/dids": "1.1.1",
"ajv": "8.12.0",
"bignumber.js": "^9.1.2",
"canonicalize": "2.0.0",
"lodash": "^4.17.21",
"typeid-js": "0.3.0"
},
"devDependencies": {
"@types/sinon": "17.0.2",
"@web/test-runner": "^0.18.0",
"@web/test-runner-playwright": "^0.11.0",
"chai": "4.3.10",
"esbuild": "0.16.17",
"mkdirp": "3.0.1",
"mocha": "10.2.0",
"node-stdlib-browser": "1.2.0",
"rimraf": "4.4.0",
"sinon": "17.0.1",
"tiny-glob": "0.2.9",
"typedoc": "0.25.0",
"typedoc-plugin-markdown": "3.16.0",
"typescript": "5.2.2"
},
"scripts": {
"clean": "rimraf generated dist tests/compiled",
"compile-validators": "rimraf generated && node build/compile-validators.js",
"build:esm": "rimraf dist/esm dist/types && tsc",
"build:cjs": "rimraf dist/cjs && tsc -p tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > ./dist/cjs/package.json",
"build:browser": "rimraf dist/browser.mjs dist/browser.js && node build/bundles.js",
"test:node": "rimraf tests/compiled && pnpm compile-validators && tsc -p tests/tsconfig.json && c8 mocha",
"test:browser": "rimraf tests/compiled && pnpm compile-validators && node tests/bundle-tests.mjs && web-test-runner",
"generate-test-vectors": "tsc -p tests/tsconfig.json && node tests/compiled/packages/protocol/tests/generate-test-vectors.js",
"build": "pnpm clean && pnpm compile-validators && pnpm build:esm && pnpm build:cjs && pnpm build:browser",
"lint": "eslint . --ext .ts --max-warnings 0",
"lint:fix": "eslint . --ext .ts --fix",
"docs": "pnpm build:esm && typedoc --plugin typedoc-plugin-markdown --out docs src/main.ts",
"try": "pnpm compile-validators && pnpm build:esm && node dist/esm/src/try.js"
}
}