-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 3.36 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
{
"name": "hs-ssi-sdk",
"version": "7.0.1",
"description": "sdk is an implementation of proposed DID by W3C",
"main": "build/src/index.js",
"scripts": {
"test": "npm run test-did && npm run test-schema && npm run test-credential && npm run test-presentation",
"test-did": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'src/tests/did/did.spec.ts' --exit --timeout 40000",
"test-didByApiKey": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'src/tests/did/didByEntityApiKey.spec.ts' --exit --timeout 400000",
"test-didByClientSpec": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'src/tests/did/didByclientSpec.spec.ts' --exit --timeout 400000",
"test-schema": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'src/tests/schema/schema.spec.ts' --exit --timeout 400000",
"test-schemaByApiKey": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'src/tests/schema/schemaByEntityApiKey.spec.ts' --exit --timeout 400000",
"test-credential": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'src/tests/credential/vc.spec.ts' --exit --timeout 400000",
"test-credentialByApiKey": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'src/tests/credential/vcByEntityApiKey.spec.ts' --exit --timeout 400000",
"test-presentation": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'src/tests/vp.spec.ts' --exit --timeout 400000",
"test-signdid": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'src/tests/didSign.spec.ts' --exit --timeout 400000",
"start": "node build/index.js",
"build": "npm run lint:fix && npm run prettier && rimraf build && tsc -p .",
"prettier": "prettier --config .prettierrc.json --write src/**/*.ts",
"prepublish": "npm run build",
"lint": "eslint . --ext .ts",
"lint:fix": "npm run lint -- --fix",
"prepare": "husky install"
},
"author": "Hypersign Team",
"license": "ISC",
"dependencies": {
"@cosmjs/proto-signing": "^0.27.0",
"@cosmjs/stargate": "^0.27.0",
"@digitalbazaar/ed25519-signature-2020": "^3.0.0",
"@digitalbazaar/ed25519-verification-key-2018": "^3.1.2",
"@digitalbazaar/ed25519-verification-key-2020": "^3.3.0",
"@stablelib/ed25519": "^1.0.2",
"axios": "^0.19.0",
"crypto-ld": "^6.0.0",
"ethereumeip712signature2021suite": "github:hypersign-protocol/EthereumEip712Signature2021Suite.git",
"jcs": "github:hypersign-protocol/JCS",
"jsonld": "^8.2.0",
"jsonld-signatures": "^9.3.1",
"jsonwebtoken": "^9.0.1",
"node-fetch": "^2.6.1",
"protobufjs": "^6.11.2",
"uuid": "^8.3.0",
"vc-js": "https://github.com/hypersign-protocol/vc-js",
"web3": "^1.6.0"
},
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"@types/node": "^14.11.2",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"chai": "^4.3.7",
"eslint": "^7.32.0",
"husky": "^7.0.4",
"jest": "^28.1.0",
"mocha": "^10.2.0",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"ts-jest": "^28.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.5.5"
}
}