-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 3.03 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 3.03 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
91
92
93
{
"name": "send-stream",
"description": "Streaming file serving library with Range and conditional-GET support from file system or any streaming sources.",
"repository": "github:nicolashenry/send-stream",
"version": "2.8.0",
"keywords": [
"static",
"file",
"server",
"send",
"stream",
"partial",
"content",
"206",
"seek",
"buffer",
"range"
],
"author": "Nicolas HENRY <icewil@gmail.com>",
"devDependencies": {
"@eslint/js": "9.39.4",
"@istanbuljs/nyc-config-typescript": "1.0.2",
"@regru/eslint-plugin-prefer-early-return": "1.0.0",
"@stylistic/eslint-plugin": "5.10.0",
"@types/compressible": "2.0.3",
"@types/content-disposition": "0.5.9",
"@types/express": "5.0.6",
"@types/koa": "3.0.3",
"@types/mime-types": "3.0.1",
"@types/mocha": "10.0.10",
"@types/range-parser": "1.2.7",
"@types/supertest": "7.2.0",
"byteranges": "1.1.0",
"cross-env": "10.1.0",
"eslint": "9.39.4",
"eslint-find-rules": "5.0.0",
"eslint-import-resolver-typescript": "4.4.5",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jsdoc": "63.0.1",
"eslint-plugin-n": "18.1.0",
"eslint-plugin-sonarjs": "4.0.3",
"eslint-plugin-unicorn": "65.0.1",
"express": "5.2.1",
"fastify": "5.8.5",
"globals": "17.6.0",
"koa": "3.2.1",
"memfs": "4.57.6",
"mocha": "11.7.6",
"mongodb": "7.2.0",
"nyc": "18.0.0",
"rimraf": "6.1.3",
"supertest": "7.2.2",
"ts-node": "10.9.2",
"typescript": "6.0.3",
"typescript-eslint": "8.61.0"
},
"license": "MIT",
"dependencies": {
"@types/node": ">=25.2.1",
"compressible": "^2.0.18",
"content-disposition": "^2.0.0",
"mime-types": "^3.0.2",
"range-parser": "^1.2.1",
"tslib": ">=2.8.1"
},
"scripts": {
"clean": "rimraf dist",
"build": "tsc -b",
"clean-build": "npm run clean && npm run build",
"watch": "tsc -b -w",
"prepublishOnly": "npm run test && npm run lint",
"prepack": "npm run clean-build",
"lint": "eslint . --max-warnings 0 --report-unused-disable-directives",
"lint-fix": "eslint . --max-warnings 0 --report-unused-disable-directives --fix",
"test-no-coverage": "cross-env TS_NODE_PROJECT=test/tsconfig.json mocha test/*.spec.ts",
"test": "cross-env TS_NODE_PROJECT=test/tsconfig.json nyc mocha test/*.spec.ts",
"test-stop": "cross-env TS_NODE_PROJECT=test/tsconfig.json mocha -b test/*.spec.ts",
"ci": "npm run build && npm run test && npm run lint && npm run eslint-find-unused-rules",
"clean-ci": "npm run clean && npm run build && npm run test && npm run lint && npm run eslint-find-unused-rules",
"eslint-find-unused-rules": "eslint-find-rules -u eslint.config.mjs --flatConfig --ext .ts",
"eslint-deprecated-rules": "eslint-find-rules -d eslint.config.mjs --flatConfig --ext .ts"
},
"main": "dist/src/send-stream.js",
"typings": "dist/src/send-stream.d.ts",
"files": [
"dist/src/*.js",
"dist/src/*.js.map",
"dist/src/*.d.ts"
],
"engines": {
"node": ">=18.12.0"
}
}