-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
83 lines (83 loc) · 2.84 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
{
"name": "@nmshd/consumption",
"description": "The consumption library extends the transport library.",
"homepage": "https://enmeshed.eu",
"repository": {
"type": "git",
"url": "git+https://github.com/nmshd/runtime.git",
"directory": "packages/consumption"
},
"license": "MIT",
"author": "j&s-soft AG",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "npm run build:node",
"build:ci": "npm run build:node && ../../.ci/writeBuildInformation.sh",
"build:node": "tsc -p tsconfig.json && madge --circular dist",
"build:notest": "npm run build:node",
"cdep": "tsc && madge --circular dist",
"lint:tsc": "tsc --noEmit && tsc -p test/tsconfig.json --noEmit",
"test:ci": "npm run test",
"test:ci:lokijs": "USE_LOKIJS=true jest -i --coverage",
"test:ci:mongodb": "jest -i",
"test:local:ferretdb": "npm run test:local:start:ferretdb && CONNECTION_STRING='mongodb://localhost:27022' jest",
"test:local:lokijs": "USE_LOKIJS=true jest",
"test:local:mongodb": "npm run test:local:start:mongodb && CONNECTION_STRING='mongodb://root:example@localhost:27021' jest",
"test:local:start:ferretdb": "docker compose -f ../../.dev/compose.yml up -d runtime-ferret",
"test:local:start:mongodb": "docker compose -f ../../.dev/compose.yml up -d runtime-mongo",
"test:local:teardown": "docker compose -f ../../.dev/compose.yml rm -fsv"
},
"jest": {
"collectCoverageFrom": [
"./src/**"
],
"coverageProvider": "v8",
"coverageReporters": [
"text-summary",
"cobertura",
"lcov"
],
"maxWorkers": 1,
"preset": "ts-jest",
"setupFilesAfterEnv": [
"./test/customMatchers.ts",
"jest-expect-message"
],
"testEnvironment": "node",
"testTimeout": 60000,
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"tsconfig": "test/tsconfig.json"
}
]
}
},
"dependencies": {
"@js-soft/docdb-querytranslator": "^1.1.5",
"@js-soft/ts-serval": "2.0.11",
"@js-soft/ts-utils": "2.3.3",
"@nmshd/content": "*",
"@nmshd/core-types": "*",
"@nmshd/iql": "^1.0.2",
"@nmshd/transport": "*",
"lodash": "^4.17.21",
"ts-simple-nameof": "^1.3.1"
},
"devDependencies": {
"@js-soft/docdb-access-loki": "1.1.0",
"@js-soft/docdb-access-mongo": "1.1.9",
"@js-soft/node-logger": "1.2.0",
"@nmshd/crypto": "2.1.0",
"@types/lodash": "^4.17.14"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}