forked from rvagg/cborg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.29 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
{
"name": "cborg",
"version": "1.0.3",
"description": "Fast CBOR with a focus on strictness",
"main": "cborg.js",
"type": "module",
"bin": {
"cborg": "cli.js"
},
"scripts": {
"lint": "standard *.js lib/*.js test/*.js",
"build": "npx ipjs build --tests && cp cli.js dist/",
"test:cjs": "npm run build && mocha dist/cjs/node-test/test-*.js dist/cjs/node-test/node-test-*.js",
"test:node": "c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha test/test-*.js test/node-test-*.js",
"test:browser": "polendina --page --worker --serviceworker --cleanup dist/cjs/node-test/test-*.js",
"test": "npm run lint && npm run test:node && npm run test:cjs && npm run test:browser",
"coverage": "c8 --reporter=html mocha test/test-*.js && npx st -d coverage -p 8080"
},
"repository": {
"type": "git",
"url": "https://github.com/rvagg/cborg.git"
},
"keywords": [
"cbor"
],
"author": "Rod <[email protected]> (http://r.va.gg/)",
"license": "Apache-2.0",
"devDependencies": {
"c8": "^7.4.0",
"chai": "^4.2.0",
"ipld-garbage": "^2.0.0",
"mocha": "^8.2.1",
"polendina": "^1.1.0",
"standard": "^16.0.3"
},
"exports": {
".": {
"import": "./cborg.js"
},
"./taglib": {
"import": "./taglib.js"
}
}
}