-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 5.65 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
{
"name": "evaluation",
"version": "0.0.1",
"description": "",
"main": "index.js",
"scripts": {
"build": "tsc",
"docker:stop": "docker compose --env-file $(pwd)/.test.env -f docker-compose.yml --profile all down -t 0",
"docker:start": "docker compose --env-file $(pwd)/.test.env -f docker-compose.yml --profile all up --remove-orphans -d --wait",
"docker:logs": "docker compose --env-file $(pwd)/.test.env -f docker-compose.yml --profile all logs -f",
"docker:rm": "docker compose --env-file $(pwd)/.test.env -f docker-compose.yml --profile all rm --force",
"docker:test:run": "docker compose -f docker-compose.test.yml up --remove-orphans -d --wait",
"docker:test:stop": "docker compose -f docker-compose.test.yml stop -t 0",
"docker:test:rm": "docker compose -f docker-compose.test.yml rm --force",
"docker:test:logs": "docker compose -f docker-compose.test.yml logs -f",
"docker:test:clean": "npm run docker:test:stop && npm run docker:test:rm",
"docker:test:clean-start": "npm run docker:test:clean && npm run docker:test:run",
"docker:test:components:setup:stop": "docker compose --env-file $(pwd)/.test.env -f docker-compose.yml --profile components down -t 0",
"docker:test:components:setup:start": "docker compose --env-file $(pwd)/.test.env -f docker-compose.yml --profile components up --remove-orphans -d --wait",
"docker:test:usecases:setup:stop": "docker compose --env-file $(pwd)/.test.env -f docker-compose.yml --profile usecases down -t 0",
"docker:test:usecases:setup:start": "docker compose --env-file $(pwd)/.test.env -f docker-compose.yml --profile usecases up --remove-orphans -d --wait",
"docker:test:usecases:setup": "npm run docker:test:usecases:setup:stop && npm run docker:test:usecases:setup:start",
"setup": "npx ts-node src/setup.ts",
"setup:watch": "nodemon --config nodemon.json --exec npm run setup",
"d2:setup:watch": "d2 --watch ./diagrams/setup.d2 ./diagrams/setup.png",
"d2:sequence:3rdparty:watch": "d2 --watch ./diagrams/sequence-3rd-party.d2 ./diagrams/sequence-3rd-party.png",
"d2:sequence:did:watch": "d2 --watch ./diagrams/sequence-did-key.d2 ./diagrams/sequence-did-key.png",
"d2:trust:watch": "d2 --watch ./diagrams/trust.d2 ./diagrams/trust.png",
"d2:credential:watch": "d2 --watch ./diagrams/credential-exchange.d2 ./diagrams/credential-exchange.png",
"test": "npm run test:utils && npm run test:components && npm run test:usecases",
"test:utils": "jest -i src/tests/utils/*.test.ts",
"test:components:setup": "npm run docker:test:components:setup:stop && npm run docker:test:components:setup:start",
"test:components:teardown": "npm run docker:test:components:setup:stop",
"test:components:CssProxy": "npm run test:components:setup && jest -i src/tests/components/CssProxy.test.ts",
"test:components:SolidVCActor": "npm run test:components:setup && jest -i src/tests/components/SolidVCActor.test.ts",
"test:components:DidVCActor": "npm run test:components:setup && jest -i src/tests/components/DidVCActor.test.ts",
"test:components:WebIdOnDidKeyActor": "npm run test:components:setup && jest -i src/tests/components/WebIdOnDidKey.test.ts",
"test:components:WebIdOnWebIdActor": "npm run test:components:setup && jest -i src/tests/components/WebIdOnWebId.test.ts",
"test:components": "npm run test:components:CssProxy && npm run test:components:SolidVCActor && npm run test:components:DidVCActor && npm run test:components:WebIdOnDidKeyActor && npm run test:components:WebIdOnWebIdActor && npm run test:components:teardown",
"test:usecases:setup": "npm run docker:test:usecases:setup:stop && npm run docker:test:usecases:setup:start",
"test:usecases:teardown": "npm run docker:test:usecases:setup:stop",
"test:usecases:sign-verify-WebIdOnWebIdActor": "npm run test:usecases:setup && jest -i src/tests/usecases/sign-verify-WebIdOnWebIdActor.test.ts",
"test:usecases:sign-verify-WebIdOnDidKeyActor": "npm run test:usecases:setup && jest -i src/tests/usecases/sign-verify-WebIdOnDidKeyActor.test.ts",
"test:usecases": "npm run test:usecases:sign-verify-WebIdOnWebIdActor && npm run test:usecases:sign-verify-WebIdOnDidKeyActor && npm run test:usecases:teardown",
"profile": "npm run test:usecases:setup && npx ts-node src/profiling/profile.ts",
"demo": "npm run test:usecases:setup && npx ts-node src/demo-pseudonymity/index.ts"
},
"author": "gertjan.demulder@ugent",
"license": "MIT",
"devDependencies": {
"@jest-performance-reporter/core": "^2.1.3",
"@jest/globals": "^29.7.0",
"@mattrglobal/jsonld-signatures-bbs": "^1.2.0",
"@solid/community-server": "^7.0.1",
"@tsconfig/node18": "^18.2.2",
"@types/express": "^4.17.20",
"@types/jsonld": "^1.5.12",
"@types/n3": "^1.16.4",
"@types/node": "^20.8.7",
"jest": "^29.7.0",
"nodemon": "^3.0.1",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"dependencies": {
"@comunica/query-sparql": "^2.10.0",
"@digitalbazaar/did-method-key": "^5.1.0",
"@digitalbazaar/vc": "^6.0.2",
"@digitalcredentials/vc-data-model": "^1.1.1",
"@inrupt/solid-client": "^1.30.2",
"@inrupt/solid-client-authn-core": "^1.17.3",
"body-parser": "^1.20.2",
"bs58": "^5.0.0",
"credentials-context": "^2.0.0",
"cross-fetch": "^4.0.0",
"did-context": "^3.1.1",
"express": "^4.18.2",
"file-type": "^18.5.0",
"fs-extra": "^11.1.1",
"jsonld": "^8.3.1",
"jsonld-signatures": "7.0.0",
"klona": "^2.0.6",
"mime-types": "^2.1.35",
"n3": "^1.17.2",
"pino": "^8.16.0",
"pino-pretty": "^10.2.3",
"rdflib": "^2.2.32",
"rfc4648": "^1.5.3"
},
"engines": {
"node": ">=20.0"
}
}