Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.06 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.06 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
{
"name": "range-source-web",
"version": "1.2.0",
"description": "Range source and storage manager for video and other partial content on the web: reads files by offset through HTTP range requests, Blobs or your own source, and keeps what was read in OPFS, IndexedDB, the Cache API or memory under one size cap.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"module": "./dist/index.mjs",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./sw": {
"types": "./dist/sw.d.ts",
"module": "./dist/sw.mjs",
"import": "./dist/sw.mjs",
"require": "./dist/sw.js"
},
"./range-source-sw.js": "./dist/range-source-sw.js",
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"sideEffects": false,
"scripts": {
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsup",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:browsers": "npm run build && node test/browsers/worker.mjs",
"serve": "node test/range-server.mjs",
"prepack": "npm run build"
},
"keywords": [
"range-source",
"range-requests",
"http-range",
"partial-content",
"byte-range",
"byte-source",
"streaming",
"video",
"video-streaming",
"video-cache",
"media-cache",
"storage",
"offline",
"opfs",
"indexeddb",
"cache-api",
"cache"
],
"author": "Daniel Kasprowicz",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/MediaCacheDev/range-source.git",
"directory": "web"
},
"homepage": "https://github.com/MediaCacheDev/range-source#readme",
"bugs": {
"url": "https://github.com/MediaCacheDev/range-source/issues"
},
"devDependencies": {
"@types/node": "^22.20.5",
"fake-indexeddb": "^6.2.6",
"playwright": "^1.62.1",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^3.2.7"
}
}