-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
112 lines (112 loc) · 3.47 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
{
"name": "derzis-common",
"version": "0.6.0",
"description": "Derzis: a Linked Data crawler",
"author": "André Santos <[email protected]>",
"license": "MIT",
"types": "index.d.ts",
"scripts": {
"test": "NODE_OPTIONS=--experimental-vm-modules npx jest ",
"test:watch": "NODE_OPTIONS=--experimental-vm-modules npx jest --watch",
"build": "tsc --project tsconfig.json && tsconfig-replace-paths --project tsconfig.json && cp -r src/manager/views dist/src/manager/views",
"postbuild": "cp package.json dist/package.json && cp package-lock.json dist/package-lock.json && cd dist && npm install",
"typecheck": "tsc -b tsconfig.json",
"typecheck:watch": "tsc -b tsconfig.json --watch",
"//watch-crawl-delays": "node --experimental-specifier-resolution=node --loader ts-node/esm ./src/common/bin/watch-crawl-delays.ts",
"worker:dev": "node --experimental-specifier-resolution=node --loader ts-node/esm ./src/worker/bin/worker.ts",
"manager:dev": "node --experimental-specifier-resolution=node --loader ts-node/esm ./src/manager/bin/manager.ts",
"worker": "node dist/src/worker/bin/worker",
"manager": "node dist/src/manager/bin/manager"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"extensionsToTreatAsEsm": [
".ts"
],
"modulePathIgnorePatterns": [
"<rootDir>/dist/"
],
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"useESM": true
}
]
},
"testEnvironment": "node",
"moduleNameMapper": {
"@derzis/common": "<rootDir>/src/common/",
"@derzis/config": "<rootDir>/src/config/",
"@derzis/worker": "<rootDir>/src/worker/",
"@derzis/models": "<rootDir>/src/models/",
"@derzis/manager": "<rootDir>/src/manager/"
}
},
"//jest": {
"extensionsToTreatAsEsm": [
".ts"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1",
"@derzis/common": "<rootDir>/src/common/",
"@derzis/config": "<rootDir>/src/config/",
"@derzis/worker": "<rootDir>/src/worker/",
"@derzis/models": "<rootDir>/src/models/",
"@derzis/manager": "<rootDir>/src/manager/"
},
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"useESM": true
}
]
},
"modulePathIgnorePatterns": [
"<rootDir>/dist/"
],
"testEnvironment": "node"
},
"dependencies": {
"axios": "^1.4.0",
"bluebird": "^3.7.2",
"chalk": "^5.2.0",
"cheerio": "^1.0.0-rc.12",
"content-type": "^1.0.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-handlebars": "^7.0.7",
"http-link-header": "^1.1.1",
"humanize-digest": "^1.0.0",
"lodash": "^4.17.21",
"mongoose": "7.4.1",
"morgan": "^1.10.0",
"n3": "^1.17.0",
"parse-link-header": "2.0.0",
"rdf-parse": "^2.3.2",
"redis": "^4.6.7",
"robots-parser": "^3.0.1",
"streamify-string": "^1.0.1",
"swagger-ui-express": "^4.6.3",
"uuid": "^9.0.0",
"winston": "^3.9.0"
},
"devDependencies": {
"@types/bluebird": "^3.5.38",
"@types/content-type": "^1.1.5",
"@types/jest": "^29.5.2",
"@types/lodash": "^4.14.195",
"@types/morgan": "^1.9.4",
"@types/node": "^20.3.1",
"@types/streamify-string": "^1.0.0",
"@types/swagger-ui-express": "^4.1.3",
"@types/uuid": "^9.0.2",
"jest": "^29.5.0",
"ts-jest": "29.1.0",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"tsconfig-replace-paths": "^0.0.14",
"typescript": "5.1.3"
}
}