forked from liberation-data/drivine-inspiration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
127 lines (127 loc) · 3.98 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
{
"name": "drivine-instagram-scraper",
"version": "0.0.1",
"description": "A Nest instagram scaper that uses drivine with Neo4j.",
"author": "Abdul Rahman Khankan",
"license": "Apache-2.0",
"keywords": [
"graph",
"graph database",
"OGM",
"Object Graph Mapper",
"typescript",
"driver",
"client"
],
"files": [
"dist/**/*"
],
"main": "dist/DrivineModule.js",
"types": "dist/DrivineModule.d.ts",
"scripts": {
"build": "rm -fr dist && tsc -p tsconfig.build.json --strict",
"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": "ts-node -r tsconfig-paths/register src/main.ts",
"start-dist": "ts-node -r tsconfig-paths/register dist/main.js",
"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"
},
"dependencies": {
"@liberation-data/agensgraph": "^0.1.0-rc",
"@liberation-data/drivine": "^2.0.6",
"@nestjs/common": "^7.1.3",
"@nestjs/core": "^7.1.3",
"@nestjs/platform-express": "^7.1.3",
"class-transformer": "^0.3.1",
"class-validator": "^0.11.0",
"cls-hooked": "^4.2.2",
"dotenv": "^8.1.0",
"find-config": "^1.0.0",
"instagram-web-api": "^2.2.2",
"lodash": "^4.17.19",
"mississippi": "^4.0.0",
"moment": "^2.24.0",
"neo4j-driver": "^4.0.2",
"reflect-metadata": "^0.1.13",
"rxjs": "^6.5.3",
"tough-cookie-filestore2": "^1.0.0",
"uuid": "^3.3.2"
},
"devDependencies": {
"@nestjs/testing": "^7.1.3",
"@types/cls-hooked": "^4.3.0",
"@types/express": "^4.17.0",
"@types/jest": "^24.0.15",
"@types/node": "^10.14.13",
"@types/pg": "^7.4.14",
"@types/route-parser": "^0.1.3",
"@types/shortid": "^0.0.29",
"@types/supertest": "^2.0.8",
"@types/uuid": "^3.4.5",
"@types/validator": "^10.11.3",
"@typescript-eslint/eslint-plugin": "^2.21.0",
"@typescript-eslint/parser": "^2.21.0",
"acorn": "^7.1.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.3",
"jest": "^26.0.1",
"lint-staged": "^9.2.5",
"nodemon": "^1.19.1",
"prettier": "^1.18.2",
"supertest": "^4.0.2",
"ts-jest": "^26.1.0",
"ts-node": "^8.3.0",
"tsconfig-paths": "^3.8.0",
"typescript": "^3.8.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"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": {
"@/(.*)$": "<rootDir>/src/$1"
}
}
}