-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
90 lines (90 loc) · 2.79 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
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": "remote-mediaserver",
"description": "Manage and watch your movies and tv series.",
"version": "0.5.0",
"main": "main.js",
"nodeGypRebuild": true,
"engines": {
"node": ">=10"
},
"bin": {
"remote": "./main.js"
},
"scripts": {
"start": "nodemon --inspect --watch backend main.js",
"test": "npm-run-all test:unit test:lint",
"test:lint": "eslint --config backend/.eslintrc backend/",
"test:unit": "jest backend --forceExit",
"package": "cp -r node_modules/moviedb-api/",
"build": "pkg package.json && npm-run-all build:mac build:win build:linux build:arm",
"build:arm": "docker run --rm -v $(pwd):/src owenray/rms-buildenv sh -c \"npm install && npm run build:arm:indocker\" && zip file.zip remote-mediaserver && mv file.zip dist/arm.zip",
"build:mac": "zip file.zip remote-mediaserver-*macos && mv file.zip dist/osx.zip",
"build:win": "zip file.zip remote-mediaserver-*win.exe && mv file.zip dist/win.zip",
"build:linux": "zip file.zip remote-mediaserver-*linux && mv file.zip dist/linux.zip",
"build:arm:indocker": "pkg --targets node16-linux-armv7 package.json",
"build:nasos:arm": "platform_scripts/nasos/buildscript.sh armv7",
"build:nasos:x86": "platform_scripts/nasos/buildscript.sh x86_64"
},
"files": [
"backend",
"frontend/build"
],
"pkg": {
"scripts": [
"backend/**/*.js",
"node_modules/moviedb-api/apib/endpoints.json"
],
"assets": [
"frontend/build/**",
"backend/**/*.json"
],
"targets": [
"node16-linux-x64",
"node16-win-x64",
"node16-macos-x64"
]
},
"dependencies": {
"@sentry/node": "^7.15.0",
"acme-client": "^4.2.5",
"ass-to-vtt": "^1.1.1",
"bencode": "^2.0.0",
"bittorrent-dht": "^9.0.0",
"chokidar": "^3.0.1",
"ip": "^1.1.5",
"koa": "^2.3.0",
"koa-bodyparser": "^4.2.0",
"koa-router": "^7.1.1",
"koa-static": "^3.0.0",
"mime": "^1.3.4",
"moviedb-api": "git+https://github.com/OwenRay/moviedb-api.git",
"node-cache": "^5.1.2",
"node-file-cache": "^1.0.2",
"node-unzip-2": "^0.2.8",
"node-uuid": "^1.4.7",
"npm-run-all": "^4.1.5",
"opn": "^5.4.0",
"pluralize": "^1.2.1",
"q": "^1.5.1",
"server-destroy": "^1.0.1",
"socket.io": "^2.5.0",
"srt-to-vtt": "^1.1.1",
"supercop.js": "^2.0.1",
"vtt-shift": "^0.1.0"
},
"devDependencies": {
"ajv": "^6.12.6",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"jest": "^29.5.0",
"nodemon": "^2.0.20",
"pkg": "^5.8.1",
"prettier": "^2.8.7"
}
}