Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 1.88 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) · 1.88 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
{
"name": "justget",
"version": "0.2.4",
"description": "Multi-source racing chunked downloader with intelligent scheduling / 多源竞速分块下载器(含浏览器版 justget/browser)",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/",
"LICENSE",
"README.md"
],
"bin": {
"justget": "dist/cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./browser": {
"types": "./dist/browser/index.d.ts",
"import": "./dist/browser/index.js"
}
},
"scripts": {
"build": "tsc && npm run build:browser",
"build:browser": "tsc -p tsconfig.browser.json",
"build:node": "tsc",
"dev": "tsc --watch",
"test": "vitest run",
"test:coverage": "vitest --coverage",
"lint": "eslint src --ext .ts",
"format": "prettier --write \"src/**/*.ts\"",
"prepublishOnly": "npm run build && npm test",
"cli": "tsx src/cli.ts"
},
"keywords": [
"download",
"downloader",
"multi-source",
"chunked",
"parallel",
"mirror",
"http",
"file",
"browser"
],
"author": "Wind Li",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/justdb/justget.git"
},
"bugs": {
"url": "https://github.com/justdb/justget/issues"
},
"homepage": "https://github.com/justdb/justget#readme",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"commander": "^11.1.0",
"node-fetch": "^3.3.2",
"progress": "^2.0.3"
},
"devDependencies": {
"@types/node": "^20.10.6",
"@types/progress": "^2.0.7",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"@vitest/coverage-v8": "^1.1.0",
"eslint": "^8.56.0",
"prettier": "^3.1.1",
"typescript": "^5.3.3",
"vitest": "^1.1.0",
"tsx": "^4.23.9"
}
}