generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 105
/
package.json
163 lines (163 loc) · 5.15 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "@tbd54566975/dwn-sdk-js",
"version": "0.5.2",
"description": "A reference implementation of https://identity.foundation/decentralized-web-node/spec/",
"repository": {
"type": "git",
"url": "git+https://github.com/TBD54566975/dwn-sdk-js.git"
},
"license": "Apache-2.0",
"homepage": "https://github.com/TBD54566975/dwn-sdk-js#readme",
"bugs": {
"url": "https://github.com/TBD54566975/dwn-sdk-js/issues"
},
"contributors": [
{
"name": "Daniel Buchner",
"url": "https://github.com/csuwildcat"
},
{
"name": "Diane Huxley",
"url": "https://github.com/diehuxx"
},
{
"name": "Henry Tsai",
"url": "https://github.com/thehenrytsai"
},
{
"name": "Moe Jangda",
"url": "https://github.com/mistermoe"
},
{
"name": "Liran Cohen",
"url": "https://github.com/LiranCohen"
}
],
"type": "module",
"@comment files": [
"the files property informs npm about which files we want to include in our published package.",
"dist will include all transpiled js. There's no point in including .ts files"
],
"files": [
"dist",
"src"
],
"engines": {
"node": ">= 18"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/src/index.js",
"types": "./dist/types/src/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/src/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/src/index.d.ts"
},
"./tests": {
"import": "./dist/esm/tests/test-suite.js",
"types": "./dist/types/tests/test-suite.d.ts"
}
},
"react-native": "./dist/esm/src/index.js",
"dependencies": {
"@ipld/dag-cbor": "9.0.3",
"@js-temporal/polyfill": "0.4.4",
"@noble/ciphers": "0.5.3",
"@noble/curves": "1.4.2",
"@noble/ed25519": "2.0.0",
"@noble/secp256k1": "2.0.0",
"@web5/dids": "^1.1.3",
"abstract-level": "1.0.3",
"ajv": "8.12.0",
"blockstore-core": "4.2.0",
"cross-fetch": "4.0.0",
"eciesjs": "0.4.5",
"interface-blockstore": "5.2.3",
"interface-store": "5.1.2",
"ipfs-unixfs-exporter": "13.1.5",
"ipfs-unixfs-importer": "15.1.5",
"level": "8.0.0",
"lodash": "4.17.21",
"lru-cache": "9.1.2",
"ms": "2.1.3",
"multiformats": "11.0.2",
"randombytes": "2.1.0",
"readable-stream": "4.5.2",
"uint8arrays": "5.1.0",
"ulidx": "2.1.0",
"uuid": "8.3.2",
"varint": "6.0.0"
},
"devDependencies": {
"@types/chai": "4.3.0",
"@types/chai-as-promised": "7.1.5",
"@types/flat": "^5.0.2",
"@types/karma": "^6.3.3",
"@types/lodash": "4.14.179",
"@types/mocha": "^9.1.0",
"@types/ms": "0.7.31",
"@types/node": "^18.13.0",
"@types/randombytes": "2.0.0",
"@types/readable-stream": "4.0.10",
"@types/secp256k1": "4.0.3",
"@types/sinon": "^17.0.3",
"@types/uuid": "^9.0.1",
"@types/varint": "6.0.0",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"c8": "^10.1.2",
"chai": "4.3.6",
"chai-as-promised": "7.1.1",
"cross-env": "7.0.3",
"dependency-cruiser": "^16.3.7",
"esbuild": "0.16.17",
"eslint": "^9.2.0",
"eslint-plugin-todo-plz": "1.3.0",
"events": "3.3.0",
"istanbul-badges-readme": "1.8.1",
"karma": "^6.4.4",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "3.1.1",
"karma-esbuild": "2.2.5",
"karma-firefox-launcher": "2.1.2",
"karma-mocha": "2.0.1",
"karma-mocha-reporter": "2.2.5",
"karma-webkit-launcher": "2.1.0",
"license-report": "6.3.0",
"mkdirp": "1.0.4",
"mocha": "10.1.0",
"mockdate": "3.0.5",
"ms": "2.1.3",
"node-stdlib-browser": "1.2.0",
"playwright": "^1.44.0",
"rimraf": "^3.0.2",
"search-index": "3.4.0",
"sinon": "18.0.1",
"typescript": "^5.1.6",
"util": "0.12.4"
},
"overrides": {
"cookie": "^0.7.1",
"@typescript-eslint/eslint-plugin": {
"eslint": "^9.2.0"
}
},
"scripts": {
"build:esm": "tsc",
"build:cjs": "npm run build:esm && node build/create-cjs-bundle.cjs && echo '{\"type\": \"commonjs\"}' > ./dist/cjs/package.json",
"build": "npm run clean && npm run compile-validators && npm run build:esm && npm run build:cjs && npm run bundle",
"bundle": "node ./build/create-browser-bundle.cjs",
"clean": "rimraf dist && rimraf generated/*",
"compile-validators": "node ./build/compile-validators.js",
"lint": "eslint . --max-warnings 0",
"lint:fix": "eslint . --fix",
"circular-dependency-check": "depcruise src",
"test:node": "npm run compile-validators && tsc && c8 node --enable-source-maps node_modules/.bin/mocha \"dist/esm/tests/**/*.spec.js\"",
"test:node-grep": "npm run compile-validators && tsc && c8 node --enable-source-maps node_modules/.bin/mocha \"dist/esm/tests/**/*.spec.js\" -- --grep $npm_config_grep",
"test:browser": "npm run compile-validators && cross-env karma start karma.conf.cjs",
"test:browser-debug": "npm run compile-validators && cross-env karma start karma.conf.debug.cjs",
"license-check": "license-report --only=prod > license-report.json && node ./build/license-check.cjs",
"publish:unstable": "./build/publish-unstable.sh"
}
}