forked from digitalbazaar/ed25519-signature-2020
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.68 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
{
"name": "@digitalcredentials/ed25519-signature-2020",
"version": "6.0.0",
"description": "Ed25519Signature2020 Linked Data Proof suite for use with jsonld-signatures.",
"homepage": "https://github.com/digitalcredentials/ed25519-signature-2020",
"repository": {
"type": "git",
"url": "https://github.com/digitalcredentials/ed25519-signature-2020"
},
"license": "BSD-3-Clause",
"files": [
"dist",
"lib",
"rollup.config.js",
"build-dist.sh",
"README.md",
"LICENSE"
],
"main": "dist/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/esm/index.js"
},
"./package.json": "./package.json"
},
"dependencies": {
"@digitalcredentials/ed25519-verification-key-2020": "^3.1.1",
"@digitalcredentials/base58-universal": "^1.0.1",
"@digitalcredentials/jsonld-signatures": "^12.0.0",
"ed25519-signature-2020-context": "^1.0.1",
"ed25519-signature-2018-context": "^1.1.0"
},
"devDependencies": {
"@digitalbazaar/ed25519-verification-key-2018": "^3.1.1",
"@digitalbazaar/security-document-loader": "^1.0.0",
"chai": "^4.2.0",
"cross-env": "^7.0.3",
"eslint": "^7.20.0",
"eslint-config-digitalbazaar": "^2.6.1",
"eslint-plugin-jsdoc": "^32.2.0",
"esm": "^3.2.25",
"karma": "^6.3.4",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^5.0.0",
"mocha": "^8.0.1",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^15.1.0",
"rollup": "^2.47.0",
"webpack": "^5.53.0"
},
"browser": {
"buffer": false,
"crypto": false,
"util": false
},
"engines": {
"node": ">=14"
},
"scripts": {
"rollup": "rollup -c rollup.config.js",
"build": "npm run clear && npm run rollup && ./build-dist.sh",
"clear": "rimraf dist/*",
"prepare": "npm run build",
"prepack": "npm run build",
"test": "npm run lint && npm run test-node && npm run test-karma",
"test-karma": "karma start karma.conf.js",
"test-node": "cross-env NODE_ENV=test mocha -r esm --preserve-symlinks -t 30000 -A -R ${REPORTER:-spec} --require test/test-mocha.js test/*.spec.js",
"coverage": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary npm run test-node",
"coverage-ci": "cross-env NODE_ENV=test nyc --reporter=lcovonly npm run test-node",
"coverage-report": "nyc report",
"lint": "eslint .",
"rebuild": "npm run clear && npm run build"
},
"nyc": {
"exclude": [
"test"
],
"reporter": [
"html",
"text-summary"
]
}
}