forked from wikipathways/cget
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 1.83 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 1.83 KB
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": "@loanlink-nl/cget",
"version": "1.0.2",
"description": "Robust streaming parallel download manager with filesystem cache",
"author": "Loanlink",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/loanlink-nl/cget.git"
},
"bugs": {
"url": "https://github.com/loanlink-nl/cget/issues"
},
"homepage": "https://github.com/loanlink-nl/cget#readme",
"main": "dist/cget.js",
"types": "dist/cget.d.ts",
"engines": {
"node": ">=20"
},
"scripts": {
"build": "rimraf ./dist && tsc --build",
"prepare": "npm run build",
"prepublishOnly": "npm i --package-lock-only && npm run test",
"test": "npm-run-all test:*",
"test:jest": "jest",
"test:clean": "rimraf cache/",
"test:original": "npm-run-all test:original:*",
"test:original:build": "tsc -p test",
"test:original:run": "echo 'TODO: is this test useful?' && echo '' && (timeout 3s node test/serve.js test/cache index.html; exit 0)"
},
"keywords": [
"cache",
"caching",
"request",
"fetch",
"parallel",
"download",
"manager",
"http"
],
"dependencies": {
"@types/node": "^20.17.27",
"cwait": "^1.1.2",
"got": "^11.8.6",
"mkdirp": "^3.0.1"
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/lodash": "^4.17.0",
"jest": "^29.7.0",
"jest-jasmine2": "^29.7.0",
"lodash": "^4.17.15",
"npm-run-all2": "^7.0.2",
"rimraf": "^6.0.0",
"ts-jest": "^29.3.0",
"typescript": "^5.8.2"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"useESM": true
}
]
},
"testRegex": "(/src/.*\\.test\\.(ts|tsx|js))$",
"testRunner": "jasmine2"
}
}