forked from TBD54566975/dwn-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 3.76 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
{
"name": "@tbd54566975/dwn-sdk-js",
"version": "0.0.11",
"description": "A reference implementation of https://identity.foundation/decentralized-web-node/spec/",
"type": "module",
"types": "./dist/esm/src/index.d.ts",
"engines": {
"node": ">= 16"
},
"exports": "./dist/esm/src/index.js",
"browser": {
"./dist/esm/src/index.js": "./dist/bundles/browser.js"
},
"@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"
],
"scripts": {
"build:esm": "tsc",
"build": "npm-run-all -l clean compile-validators -p build:esm bundle",
"bundle": "node ./build/create-browser-bundle.cjs",
"clean": "rimraf dist && rimraf generated/*",
"compile-validators": "node --es-module-specifier-resolution=node ./build/compile-validators.js",
"lint": "eslint . --ext .ts --max-warnings 0",
"lint:fix": "eslint . --ext .ts --fix",
"make-coverage-badges": "istanbul-badges-readme",
"make-coverage-badges:ci": "npm run make-coverage-badges -- --ci",
"test:node": "npm run compile-validators && tsc && c8 mocha --es-module-specifier-resolution=node \"dist/esm/tests/**/*.spec.js\" && npm run make-coverage-badges",
"test:node:ci": "npm run compile-validators && tsc && c8 mocha --es-module-specifier-resolution=node \"dist/esm/tests/**/*.spec.js\"",
"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"
},
"dependencies": {
"@ipld/dag-cbor": "7.0.1",
"@noble/ed25519": "1.6.0",
"@noble/secp256k1": "1.5.5",
"@swc/helpers": "0.3.8",
"@types/ms": "0.7.31",
"ajv": "8.11.0",
"cross-fetch": "3.1.5",
"date-fns": "2.28.0",
"interface-blockstore": "2.0.3",
"ipfs-unixfs": "6.0.9",
"ipfs-unixfs-exporter": "7.0.11",
"ipfs-unixfs-importer": "9.0.10",
"level": "8.0.0",
"lodash": "4.17.21",
"lru-cache": "7.12.0",
"ms": "2.1.3",
"multiformats": "9.6.4",
"randombytes": "2.1.0",
"search-index": "3.1.3",
"uuid": "8.3.2",
"varint": "6.0.0"
},
"devDependencies": {
"@esbuild-plugins/node-globals-polyfill": "0.1.1",
"@types/chai": "4.3.0",
"@types/chai-as-promised": "7.1.5",
"@types/lodash": "4.14.179",
"@types/mocha": "9.1.0",
"@types/randombytes": "2.0.0",
"@types/search-index": "^3.2.0",
"@types/sinon": "10.0.11",
"@types/varint": "6.0.0",
"@typescript-eslint/eslint-plugin": "5.37.0",
"@typescript-eslint/parser": "5.37.0",
"c8": "7.12.0",
"chai": "4.3.6",
"chai-as-promised": "7.1.1",
"cross-env": "7.0.3",
"esbuild": "0.14.39",
"eslint": "8.23.1",
"events": "3.3.0",
"istanbul-badges-readme": "1.8.1",
"karma": "6.3.17",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "3.1.1",
"karma-esbuild": "2.2.4",
"karma-mocha": "2.0.1",
"karma-mocha-reporter": "2.2.5",
"mocha": "10.1.0",
"mkdirp": "1.0.4",
"mockdate": "3.0.5",
"ms": "2.1.3",
"npm-run-all": "4.1.5",
"rimraf": "3.0.2",
"sinon": "13.0.1",
"typescript": "4.8.2",
"util": "0.12.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TBD54566975/dwn-sdk-js.git"
},
"author": "Moe Jangda <moe@squareup.com> (https://twitter.com/moe_jangda)",
"contributors": [
{
"name": "Daniel Buchner",
"email": "dbuchner@squareup.com",
"url": "https://twitter.com/csuwildcat"
}
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/TBD54566975/dwn-sdk-js/issues"
},
"homepage": "https://github.com/TBD54566975/dwn-sdk-js#readme"
}