forked from ptrstn/deepl-translate
-
-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathpackage.json
80 lines (80 loc) · 1.97 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
{
"name": "deeplx",
"version": "0.1.2",
"type": "module",
"description": "An unofficial Node package to translate text using [DeepL](https://www.deepl.com).",
"author": "JounQin <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=12.20"
},
"bin": {
"deeplx": "./lib/cli.js"
},
"main": "./lib/index.cjs",
"module": "./lib/index.js",
"exports": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js",
"require": "./lib/index.cjs"
},
"types": "./lib/index.d.ts",
"files": [
"lib"
],
"keywords": [
"deepl",
"deepl-api",
"deepl-free",
"deeplx",
"deepl-translate",
"deepl-translation",
"deepl-translator",
"translate",
"translate-api",
"translator"
],
"scripts": {
"build": "run-p build:*",
"build:r": "r -f cjs",
"build:ts": "tsc -p tsconfig.lib.json",
"lint": "run-p lint:*",
"lint:es": "eslint . --cache --max-warnings 10",
"lint:tsc": "tsc --noEmit",
"postbuild": "cp lib/index.cjs api/_deeplx.js",
"prepare": "simple-git-hooks || exit 0",
"prerelease": "pnpm build",
"release": "changeset publish",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"typecov": "type-coverage",
"vercel-build": "pnpm build && esno scripts/build"
},
"dependencies": {
"commander": "^9.3.0",
"got": "^11.8.5",
"tslib": "^2.4.0"
},
"devDependencies": {
"@1stg/lib-config": "^6.1.3",
"@changesets/changelog-github": "^0.4.4",
"@changesets/cli": "^2.22.0",
"@octokit/request": "^5.6.3",
"@types/jest": "^27.5.1",
"@vercel/node": "^1.15.3",
"esno": "^0.16.3",
"ts-jest": "^28.0.3",
"type-coverage": "^2.21.1",
"typescript": "^4.7.2"
},
"packageManager": "[email protected]",
"typeCoverage": {
"atLeast": 100,
"cache": true,
"detail": true,
"ignoreAsAssertion": true,
"ignoreNonNullAssertion": true,
"showRelativePath": true,
"strict": true,
"update": true
}
}