forked from digitalcredentials/ed25519-verification-key-2020
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
95 lines (95 loc) · 2.74 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
{
"name": "@digitalcredentials/ed25519-verification-key-2020",
"version": "3.2.2",
"description": "Javascript library for generating and working with Ed25519VerificationKey2020 key pairs, for use with crypto-ld.",
"homepage": "https://github.com/digitalcredentials/ed25519-verification-key-2020",
"repository": {
"type": "git",
"url": "https://github.com/digitalcredentials/ed25519-verification-key-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/base58-universal": "^1.0.1",
"@noble/ed25519": "^1.6.0",
"base64url-universal": "^1.1.0",
"crypto-ld": "^6.0.0"
},
"devDependencies": {
"@digitalbazaar/ed25519-verification-key-2018": "^3.2.0",
"@stablelib/ed25519": "^1.0.2",
"chai": "^4.3.4",
"cross-env": "^7.0.3",
"eslint": "^7.9.0",
"eslint-config-digitalbazaar": "^2.0.0",
"eslint-plugin-jsdoc": "^30.7.8",
"karma": "^5.2.3",
"karma-babel-preprocessor": "^8.0.1",
"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.3.2",
"mocha-lcov-reporter": "^1.3.0",
"multibase": "^4.0.4",
"multicodec": "^3.0.1",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.47.0",
"webpack": "^5.36.2",
"webpack-bundle-analyzer": "^4.4.1",
"webpack-cli": "^4.6.0"
},
"browser": {
"buffer": false,
"crypto": false,
"util": false,
"./lib/ed25519.js": "./lib/ed25519-browser.js",
"./dist/ed25519.js": "./dist/ed25519-browser.js"
},
"react-native": {
"buffer": false,
"crypto": false,
"util": false,
"./lib/ed25519.js": "./lib/ed25519-reactnative.js",
"./dist/ed25519.js": "./dist/ed25519-reactnative.js"
},
"engines": {
"node": ">=14"
},
"scripts": {
"rollup": "rollup -c rollup.config.js",
"build": "npm run clear && npm run rollup && ./build-dist.sh",
"clear": "rimraf dist/ && mkdir dist",
"prepare": "npm run build",
"prepack": "npm run build",
"rebuild": "npm run clear && 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 10000 test/**/*.spec.js",
"lint": "eslint ."
},
"nyc": {
"exclude": [
"tests"
]
}
}