-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
92 lines (92 loc) · 3.63 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
{
"name": "@sphereon/pex",
"version": "5.0.0-unstable.19",
"description": "A Typescript implementation of the v1 and v2 DIF Presentation Exchange specification",
"main": "dist/main/index.js",
"module": "dist/module/index.js",
"browser": "dist/browser/index.js",
"typings": "dist/main/index.d.ts",
"repository": "https://github.com/Sphereon-Opensource/pex.git",
"license": "Apache-2.0",
"keywords": [
"SSI",
"Presentation Exchange",
"Verifiable Credentials",
"Verifiable Presentations",
"Selective Disclosure",
"DIF"
],
"scripts": {
"preinstall": "npx only-allow pnpm",
"build": "run-s build:*",
"build:generateFieldv1Schema": "ts-json-schema-generator -p resources/schema-generator-interfaces/filterV1.ts > resources/FilterV1.schema.json",
"build:generateFieldv2Schema": "ts-json-schema-generator -p resources/schema-generator-interfaces/filterV2.ts > resources/FilterV2.schema.json",
"build:pdv1schema": "npx ajv compile --strict=false --all-errors --inline-refs=false --verbose --allow-union-types -s resources/presentation_definition_v1.schema.json -o lib/validation/validatePDv1.js",
"build:pdv2schema": "npx ajv compile --strict=false --all-errors --inline-refs=false --verbose --allow-union-types -s resources/presentation_definition_v2.schema.json -o lib/validation/validatePDv2.js",
"build:filterV1schema": "npx ajv compile --strict=false --all-errors --inline-refs=false --verbose --allow-union-types -s resources/FilterV1.schema.json -o lib/validation/validateFilterv1.js",
"build:filterV2schema": "npx ajv compile --strict=false --all-errors --inline-refs=false --verbose --allow-union-types -s resources/FilterV2.schema.json -o lib/validation/validateFilterv2.js",
"build:main": "tsc -p tsconfig.main.json",
"build:browser": "tsc -p tsconfig.browser.json",
"build:module": "tsc -p tsconfig.module.json",
"clean": "rimraf node_modules dist coverage",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"{lib,test}/**/*.ts\" --write",
"fix:lint": "eslint . --ext .ts --fix",
"test": "run-s test:*",
"test:lint": "eslint . --ext .ts",
"test:prettier": "prettier \"{lib,test}/**/*.ts\" --list-different",
"test:cov": "jest --ci --coverage",
"test:unit": "jest"
},
"engines": {
"node": ">=18"
},
"dependencies": {
"@astronautlabs/jsonpath": "^1.1.2",
"@sd-jwt/decode": "^0.7.2",
"@sd-jwt/present": "^0.7.2",
"@sd-jwt/types": "^0.7.2",
"@sphereon/pex-models": "^2.3.1",
"@sphereon/ssi-types": "0.30.2-feature.mdoc.funke2.366",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
"jwt-decode": "^3.1.2",
"uint8arrays": "^3.1.1",
"nanoid": "^3.3.7"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.19.26",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"@sd-jwt/core": "^0.7.2",
"ajv-cli": "^5.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"jest": "^29.7.0",
"npm-run-all": "^4.1.5",
"open-cli": "^8.0.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"ts-json-schema-generator": "^1.5.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.2"
},
"files": [
"index.ts",
"lib/validation/validatePDv1.js",
"lib/validation/validatePDv2.js",
"/dist",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"prettier": {
"singleQuote": true,
"printWidth": 150
},
"packageManager": "[email protected]+sha256.b6fd0bfda555e7e584ad7e56b30c68b01d5a04f9ee93989f4b93ca8473c49c74"
}