forked from Novage/p2p-media-loader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.71 KB
/
package.json
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
{
"name": "p2p-media-loader-shaka",
"description": "P2P Media Loader Shaka Player integration",
"version": "0.5.0",
"license": "Apache-2.0",
"author": "Novage",
"homepage": "https://github.com/Novage/p2p-media-loader",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"keywords": [
"p2p",
"peer-to-peer",
"hls",
"dash",
"webrtc",
"video",
"mse",
"player",
"torrent",
"bittorrent",
"webtorrent",
"shaka player"
],
"scripts": {
"compile": "tsc && copyfiles -f ./lib/*.js ./dist",
"browserify": "mkdirp ./build && browserify -r ./dist/index.js:p2p-media-loader-shaka ./dist/browser-init.js -x p2p-media-loader-core -x debug -x events > ./build/p2p-media-loader-shaka.js",
"minify": "terser ./build/p2p-media-loader-shaka.js -m -c > ./build/p2p-media-loader-shaka.min.js",
"build": "npm run compile && npm run browserify && npm run minify",
"webpack:build": "webpack --progress",
"webpack:watch": "webpack --watch --progress",
"lint": "tslint -c ./tslint.json -p ./tsconfig.tslint.json"
},
"repository": {
"type": "git",
"url": "https://github.com/Novage/p2p-media-loader.git"
},
"dependencies": {
"debug": "^4.1.1",
"events": "^3.0.0",
"p2p-media-loader-core": "^0.5.0"
},
"devDependencies": {
"@types/debug": "^4.1.2",
"@types/events": "^3.0.0",
"browserify": "^16.2.3",
"browserify-versionify": "^1.0.6",
"copyfiles": "^2.1.0",
"mkdirp": "^0.5.1",
"terser": "^3.17.0",
"ts-loader": "^5.3.3",
"tslint": "^5.14.0",
"typescript": "^3.3.4000",
"webpack": "^4.29.6",
"webpack-cli": "^3.3.0"
},
"browserify": {
"transform": [
"browserify-versionify"
]
}
}