forked from charto/cget
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.75 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 2.75 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "@wikipathways/cget",
"version": "0.1.7",
"description": "Robust streaming parallel download manager with filesystem cache",
"main": "dist/cget.js",
"typings": "dist/cget.d.ts",
"engines": {
"node": ">=10.0.0"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"prepare": "ALLE_DIR='../../../../'; if [ ! -d ./node_modules ] && [ -d \"$ALLE_DIR\"/node_modules ]; then echo 'Alle configuration detected. Testing from the top-level alle directory...' && (cd \"$ALLE_DIR\" && npm run '@wikipathways/cget:build'); else npm run build; fi",
"prepublishOnly": "npm i --package-lock-only && ALLE_DIR='../../../../'; if [ ! -d ./node_modules ] && [ -d \"$ALLE_DIR\"/node_modules ]; then echo 'Alle configuration detected. Testing from the top-level alle directory...' && (cd \"$ALLE_DIR\" && npm run '@wikipathways/cget:test'); else npm run test; fi",
"postpublish": "TAG=\"v$(jq -r .version package.json)\" && git commit -am \"Bumped to version $TAG\" && git tag -a $TAG -m \"Published version $TAG\" && git push origin $TAG",
"test": "npm-run-all test:*",
"test:jest": "jest",
"test:clean": "rm -rf 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)"
},
"files": [
"dist/",
"package.json",
"package-lock.json",
"README.md",
"LICENSE"
],
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"testEnvironment": "node",
"transform": {
"\\.(ts|tsx)$": "ts-jest"
},
"testPathIgnorePatterns": [
"<rootDir>/(node_modules)/"
],
"transformIgnorePatterns": [
"<rootDir>/(node_modules)/"
],
"haste": {
"providesModuleNodeModules": [
".*"
]
},
"testRegex": "(/src/.*\\.test\\.(ts|tsx|js))$"
},
"author": "Juha Järvi",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ariutta/cget.git"
},
"bugs": {
"url": "https://github.com/charto/cget/issues"
},
"homepage": "https://github.com/charto/cget#readme",
"keywords": [
"cache",
"caching",
"request",
"fetch",
"parallel",
"download",
"manager",
"http"
],
"dependencies": {
"bluebird": "^3.7.1",
"cwait": "^1.1.2",
"request": "^2.88.0",
"source-map-support": "^0.5.16"
},
"devDependencies": {
"@types/bluebird": "^3.5.28",
"@types/jest": "^24.0.21",
"@types/lodash": "^4.14.144",
"@types/node": "^10.17.0",
"@types/request": "^2.48.3",
"jest": "^24.9.0",
"lodash": "^4.17.15",
"npm-run-all": "^4.1.5",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
}
}