forked from liberation-data/drivine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
167 lines (167 loc) · 5.78 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"name": "@liberation-data/drivine",
"version": "2.1.3",
"description": "A graph database client for TypeScript and Node.js. Provides a level of abstraction for building highly scalable applications, without compromising architectural integrity",
"author": "Jasper Blues | Liberation Data",
"license": "LGPL-3.0-or-later or Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/liberation-data/drivine.git"
},
"bugs": {
"url": "https://github.com/liberation-data/drivine/issues"
},
"homepage": "https://drivine.org",
"keywords": [
"graph",
"graph database",
"OGM",
"Object Graph Mapper",
"typescript",
"driver",
"client"
],
"files": [
"**/*"
],
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"build": "rm -fr dist && tsc -p tsconfig.build.json --strict && tscpaths -p tsconfig.dist.json -s ./dist -o ./dist && cp package.json dist/ && cp README.md dist/",
"format": "npm run format:src && npm run format:test",
"format:src": "prettier --write \"src/**/*.ts\"",
"format:src:check": "prettier --check \"src/**/*.ts\"",
"format:test": "prettier --write \"test/**/*.ts\"",
"format:check:test": "prettier --test \"src/**/*.ts\"",
"start-test-app": "ts-node -r tsconfig-paths/register test/3.EndToEnd/main-web-app.ts",
"start:dev": "nodemon",
"start:debug": "nodemon --config nodemon-debug.json",
"start:gc": "node -r ts-node/register -r tsconfig-paths/register --trace-gc dist/main.js",
"lint": "npm run lint:src && npm run lint:test",
"lint:src": "eslint src --ext .ts",
"lint:test": "eslint test --ext .ts",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register/transpile-only node_modules/.bin/jest --runInBand --detectOpenHandles",
"test:unit": "jest --coverage --testPathPattern '1[.]Unit[/]'",
"test:integration": "jest --coverage --testPathPattern '2[.]Integration[/]'",
"test:e2e": "jest --coverage --testPathPattern '3[.]EndToEnd[/]'"
},
"peerDependencies": {
"@liberation-data/agensgraph": "^0.1.0-rc",
"@nestjs/common": ">= 6 <= 7",
"@nestjs/core": ">= 6 <= 7",
"@nestjs/platform-express": ">= 6 <= 7",
"class-validator": ">= 0.11.0",
"class-transformer": ">= ^0.3.1",
"neo4j-driver": ">= ^4.0.1",
"reflect-metadata": ">= ^0.1.13"
},
"dependencies": {
"cls-hooked": "github:alexgarbarev/cls-hooked",
"dotenv": "^8.2.0",
"dot-prop": "^4.2.1",
"find-config": "^1.0.0",
"kind-of": ">=6.0.3",
"handlebars": "^4.7.6",
"lodash": "^4.17.15",
"mississippi": "^4.0.0",
"moment": "^2.27.0",
"pegjs": "^0.10.0",
"pg": "^8.2.1",
"pg-cursor": "^2.2.1",
"pg-hstore": "^2.3.3",
"rxjs-stream": "^3.2.1",
"shortid": "^2.2.15",
"ts-data.stack": "^1.0.6",
"typescript-cacheable": "^2.1.3",
"uuid": "^8.3.0"
},
"devDependencies": {
"@nestjs/common": "^7.4.4",
"@nestjs/core": "^7.4.4",
"@nestjs/platform-express": "^7.4.4",
"@nestjs/testing": "^7.4.4",
"@types/cli-color": "^2.0.0",
"@types/cls-hooked": "^4.3.1",
"@types/express": "^4.17.8",
"@types/faker": "^5.1.0",
"@types/jest": "^26.0.13",
"@types/node": "^14.10.1",
"@types/pg": "^7.14.4",
"@types/shortid": "^0.0.29",
"@types/source-map-support": "^0.5.3",
"@types/supertest": "^2.0.10",
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"acorn": "^7.2.0",
"@liberation-data/agensgraph": "^0.1.0-rc",
"class-transformer": "^0.3.1",
"class-validator": "^0.12.2",
"eslint": "^7.0.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"faker": "^4.1.0",
"husky": "^4.2.5",
"jest": "^26.0.1",
"jest-each": "^26.0.1",
"lint-staged": "^10.2.4",
"neo4j-driver": "^4.0.1",
"nodemon": "^2.0.4",
"prettier": "^2.0.5",
"reflect-metadata": "^0.1.13",
"source-map-support": "^0.5.19",
"supertest": "^4.0.2",
"ts-jest": "^26.0.0",
"ts-mockito": "^2.5.0",
"ts-node": "^8.10.1",
"tsconfig-paths": "^3.9.0",
"tscpaths": "^0.0.9",
"typescript": "^3.9.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"setupFiles": [
"./test/jest-setup.ts"
],
"globalSetup": "./test/jest-global-setup.ts",
"globalTeardown": "./test/jest-global-teardown.ts",
"rootDir": "./",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverage": false,
"collectCoverageFrom": [
"src/**/*"
],
"coverageThreshold": {
"global": {
"lines": 94,
"functions": 90,
"branches": 74
}
},
"coverageReporters": [
"json",
"html"
],
"roots": [
"<rootDir>/src",
"<rootDir>/test"
],
"coverageDirectory": "./coverage",
"setupFilesAfterEnv": [],
"testEnvironment": "node",
"moduleNameMapper": {
"@liberation-data/drivine": "<rootDir>/src/index.ts",
"@/(.*)$": "<rootDir>/src/$1"
}
}
}