-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.72 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
{
"name": "license_manager",
"version": "0.1.5",
"description": "License-definition manager",
"main": "./dist/lib/Corelib.js",
"types": "./dist/lib/Corelib.d.ts",
"author": "Fraunhofer FOKUS - Future Applications and Media",
"keywords": [
"control",
"connect",
"c&c",
"license",
"definition",
"information",
"odrl",
"manager"
],
"repository": {},
"scripts": {
"build": "set ENV_FILE=./.env && npx tsc && npm run create:oas && npm run create:docs",
"create:oas": "set ENV_FILE=./.env && npx tsc && npx swagger-jsdoc -d ./configs/oas-definition.yaml ./dist/controllers/*Ctrl.js ./dist/models/**/*Model*.js -o ./docs/oas/api-docs.yaml && node ./build/swagger.js",
"create:docs": "jsdoc --configure ./configs/jsdoc-config.js",
"create:reports": "license-checker && npm run report:licenses:summary && npm run report:licenses:json && npm run report:licenses:csv && npm run report:dependencies:graph",
"report:licenses:unknown": "license-checker --onlyunknown",
"report:licenses:json": "license-checker --relativeLicensePath --json --out ./reports/dependency_licenses.json",
"report:licenses:csv": "license-checker --relativeLicensePath --csv --csvComponentPrefix --customPath ./configs/config.license-checker.json --out ./reports/dependency_licenses.csv",
"report:licenses:summary": "license-checker --summary --out ./reports/dependency_licenses.summary.txt",
"report:dependencies:graph": "npm list --depth=2 > ./reports/dependencies.graph.txt",
"start": "npx ts-node ./app/index.ts",
"test:unit": "set ENV_FILE=./.env.test && jest",
"dev": "nodemon ./app/index.ts"
},
"dependencies": {
"@types/connect-redis": "^0.0.21",
"@types/cors": "^2.8.14",
"@types/jsonld": "^1.5.9",
"ajv": "^8.11.2",
"ajv-formats": "^2.1.1",
"axios": "^1.2.2",
"clm-core": "git+https://github.com/fraunhoferfokus/clm-core",
"connect-redis": "^7.1.0",
"cors": "^2.8.5",
"curl": "^0.1.4",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"redis": "^4.6.10",
"schema-dts": "^1.1.2",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@types/ajv": "^1.0.0",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.14",
"@types/jest": "^29.2.4",
"@types/js-yaml": "^4.0.5",
"@types/node": "^18.11.10",
"@types/supertest": "^2.0.12",
"@types/swagger-jsdoc": "^6.0.1",
"@types/yamljs": "^0.2.31",
"fs": "^0.0.1-security",
"jest": "^29.3.1",
"js-yaml": "^4.1.0",
"jsdoc": "^4.0.0",
"json-refs": "^3.0.15",
"supertest": "^6.3.3",
"swagger-jsdoc": "^6.2.7",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.9.3"
},
"optionalDependencies": {
"license-checker": "^25.0.1"
}
}