Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 1.5 KB
/
Copy pathpackage.json
File metadata and controls
66 lines (66 loc) · 1.5 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
{
"name": "deepl-mock",
"description": "DeepL API mock server",
"version": "1.21.0",
"author": "DeepL SE <open-source@deepl.com>",
"license": "MIT",
"repository": "DeepLcom/deepl-mock",
"homepage": "https://www.deepl.com/",
"keywords": [
"deepl",
"http",
"mock",
"api"
],
"dependencies": {
"csv-parser": "^3.0.0",
"express": "^5.2.1",
"express-fileupload": "1.5.2",
"express-openapi-validator": "^5.6.2",
"http-proxy": "^1.18.1",
"js-yaml": "^4.3.1",
"morgan": "^1.11.0",
"nocache": "^3.0.1",
"qs": "~6.16.0"
},
"devDependencies": {
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.25.4",
"jest": "^30.3.0"
},
"engines": {
"node": ">=18"
},
"files": [
"auth.js",
"CHANGELOG.md",
"config/",
"documents.js",
"glossariesCsvParser.js",
"glossariesV2.js",
"glossariesV3.js",
"languages.js",
"LICENSE",
"index.js",
"README.md",
"response-validator.js",
"sessions.js",
"styleRules.js",
"translationMemories.js",
"util.js",
"writing_styles.js",
"writing_tones.js"
],
"scripts": {
"start": "DEEPL_MOCK_SERVER_PORT=${DEEPL_MOCK_SERVER_PORT:-3000} DEEPL_MOCK_PROXY_SERVER_PORT=${DEEPL_MOCK_PROXY_SERVER_PORT:-3001} node index.js",
"test": "jest",
"lint": "eslint .",
"lintfix": "eslint . --fix"
},
"jest": {
"testEnvironment": "node",
"testMatch": ["**/test/*.test.js"],
"testTimeout": 10000
}
}