forked from UniversalMediaServer/api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3.26 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 3.26 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
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "universalmediaserver-api",
"version": "0.0.0",
"private": true,
"engines": {
"node": "18",
"yarn": ">=1.22.10"
},
"scripts": {
"dev": "DEBUG=\"*universalmediaserver-api:server\" nodemon",
"purge": "TS_NODE_FILES=true ts-node --files scripts/purge",
"reload:prod": "./node_modules/.bin/pm2 reload ecosystem.config.js --update-env",
"start": "ts-node --files src/app.ts",
"start:prod": "./node_modules/.bin/pm2 start ecosystem.config.js --update-env",
"test": "NODE_ENV=test OS_API_USERAGENT=OS_API_MOCK_KEY jest test/e2e/media-video.spec.ts --coverage --forceExit --detectOpenHandles && npm run test:mocks",
"test:mocks": "TMDB_API_KEY=foo NODE_ENV=test OS_API_USERAGENT=OS_API_MOCK_KEY jest test/**/*.spec.ts --testPathIgnorePatterns test/e2e/media-video.spec.ts --coverage --forceExit --detectOpenHandles",
"test:models": "jest test/models/*.spec.ts --coverage --forceExit --detectOpenHandles",
"tsc:ci": "tsc && rm -rf dist",
"watch": "tsc --watch"
},
"eslintConfig": {
"env": {
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"parserOptions": {
"ecmaVersion": 2023,
"project": "./tsconfig.json",
"sourceType": "module"
},
"rules": {
"array-bracket-spacing": "error",
"arrow-spacing": "error",
"block-spacing": "error",
"computed-property-spacing": "error",
"key-spacing": "error",
"keyword-spacing": "error",
"no-trailing-spaces": "error",
"no-whitespace-before-property": "error",
"object-curly-spacing": [
"error",
"always"
],
"rest-spread-spacing": "error",
"semi-spacing": "error",
"space-before-blocks": "error",
"space-infix-ops": "error"
}
},
"dependencies": {
"@skyra/jaro-winkler": "^1.1.0",
"debug": "4.3.4",
"episode-parser": "2.0.2",
"escape-string-regexp": "5.0.0",
"koa": "2.14.2",
"koa-bodyparser": "4.4.1",
"koa-helmet": "7.0.2",
"koa-qs": "3.0.0",
"koa-router": "12.0.1",
"lodash": "4.17.21",
"mongoose": "7.6.3",
"moviedb-promise": "4.0.3",
"object-mapper": "6.2.0",
"opensubtitles-api": "https://github.com/UniversalMediaServer/opensubtitles-api#94e2339b2e38533e518e6556f49b65e541bbe9e3",
"pm2": "5.3.0",
"ts-node": "10.9.1"
},
"devDependencies": {
"@types/jest": "29.5.6",
"@types/koa": "2.13.10",
"@types/koa-bodyparser": "4.3.11",
"@types/koa-helmet": "6.0.7",
"@types/koa-router": "7.4.6",
"@types/lodash": "4.14.200",
"@types/natural": "5.1.4",
"@types/node": "18.18.6",
"@types/object-mapper": "6.2.1",
"@typescript-eslint/eslint-plugin": "6.8.0",
"@typescript-eslint/parser": "6.8.0",
"axios": "1.5.1",
"eslint": "8.52.0",
"inquirer": "9.2.11",
"jest": "29.7.0",
"ky": "1.1.0",
"mongodb-memory-server": "9.0.1",
"nock": "13.3.6",
"nodemon": "3.0.1",
"stoppable": "1.1.0",
"ts-jest": "29.1.1",
"typescript": "5.2.2"
},
"packageManager": "yarn@3.6.4"
}