forked from digitalbazaar/cborld
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 3.67 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
{
"name": "@procivis/cborld",
"version": "7.1.1-0",
"description": "A CBOR-LD encoder/decoder for react-native.",
"license": "BSD-3-Clause",
"author": {
"name": "Digital Bazaar, Inc.",
"email": "support@digitalbazaar.com",
"url": "https://digitalbazaar.com/"
},
"homepage": "https://github.com/digitalbazaar/cborld",
"repository": {
"type": "git",
"url": "https://github.com/provicis/cborld"
},
"bugs": {
"url": "https://github.com/digitalbazaar/cborld/issues"
},
"keywords": [
"json-ld",
"cbor",
"linked data",
"compression"
],
"type": "module",
"browser": {
"process": false,
"util": false,
"./lib/util.js": "./lib/util-browser.js"
},
"react-native": {
"process": false,
"util": false,
"./lib/util.js": "./lib/util-browser.js",
"./dist/util.js": "./dist/util-browser.js"
},
"files": [
"dist",
"lib",
"rollup.config.js",
"build-dist.sh",
"README.md",
"LICENSE"
],
"main": "dist/lib/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"require": "./dist/lib/index.js",
"import": "./dist/esm/index.js"
},
"./package.json": "./package.json"
},
"engines": {
"node": ">=18"
},
"scripts": {
"rollup": "rollup -c rollup.config.js",
"build": "npm run clear && npm run rollup && ./build-dist.sh",
"clear": "rimraf dist/*",
"prepare": "npm run build",
"test": "npm run test-node",
"test-node": "cross-env NODE_ENV=test mocha --preserve-symlinks -t 30000 -A -R ${REPORTER:-spec} tests/*.spec.js",
"test-karma": "karma start karma.conf.cjs",
"test-watch": "cross-env NODE_ENV=test mocha --watch --preserve-symlinks -t 30000 -A -R ${REPORTER:-spec} tests/*.spec.js",
"coverage": "cross-env NODE_ENV=test c8 npm run test-node",
"coverage-ci": "cross-env NODE_ENV=test c8 --reporter=lcovonly --reporter=text-summary --reporter=text npm run test-node",
"coverage-report": "c8 report",
"lint": "eslint --ext .cjs,.js .",
"rebuild": "npm run clear && npm run build"
},
"dependencies": {
"@digitalcredentials/base64url-universal": "^2.0.6",
"@procivis/base58-universal": "^2.0.1-0",
"cborg": "^4.2.2",
"js-base64": "^3.7.7",
"uuid": "^10.0.0",
"varint": "^6.0.0"
},
"devDependencies": {
"@babel/core": "^7.24.9",
"@babel/plugin-transform-async-to-generator": "^7.24.7",
"@babel/plugin-transform-regenerator": "^7.24.7",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.24.8",
"@digitalbazaar/did-method-key": "^5.2.0",
"@digitalbazaar/ed25519-multikey": "^1.1.0",
"@digitalbazaar/multikey-context": "^2.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.7",
"c8": "^10.1.2",
"chai": "^4.4.1",
"chai-bytes": "^0.1.2",
"cit-context": "^2.0.1",
"citizenship-context": "^3.0.0",
"credentials-context": "^2.0.0",
"cross-env": "^7.0.3",
"did-context": "^3.1.1",
"ed25519-signature-2020-context": "^1.1.0",
"eslint": "^8.57.0",
"eslint-config-digitalbazaar": "^5.2.0",
"eslint-plugin-jsdoc": "^48.5.0",
"eslint-plugin-unicorn": "^54.0.0",
"karma": "^6.4.3",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.4.0",
"karma-webpack": "^5.0.1",
"mocha": "^10.5.2",
"mocha-lcov-reporter": "^1.3.0",
"rimraf": "^3.0.2",
"rollup": "^2.47.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"webpack": "^5.92.1"
},
"c8": {
"reporter": [
"lcov",
"text-summary",
"text"
]
}
}