-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 2.86 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "@toil/translate",
"version": "1.0.4",
"author": "Toil",
"repository": {
"type": "git",
"url": "git+https://github.com/FOSWLY/translate"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"devDependencies": {
"@sinclair/typebox-codegen": "^0.10.5",
"@types/bun": "latest",
"@types/eslint__js": "^8.42.3",
"eslint": "^9.17.0",
"eslint-plugin-oxlint": "0.15.8",
"husky": "^9.1.7",
"oxlint": "^0.15.4",
"tsc-alias": "^1.8.10",
"tsc-esm-fix": "^3.1.2",
"typedoc": "^0.27.6",
"typedoc-plugin-include-example": "^2.0.2",
"typedoc-plugin-rename-defaults": "^0.7.2",
"typescript-eslint": "^8.19.0"
},
"peerDependencies": {
"typescript": "^5.6.2"
},
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./errors": {
"require": "./dist/errors.js",
"import": "./dist/errors.js",
"types": "./dist/errors.d.ts"
},
"./config": {
"require": "./dist/config/config.js",
"import": "./dist/config/config.js",
"types": "./dist/config/config.d.ts"
},
"./providers": {
"require": "./dist/providers/index.js",
"import": "./dist/providers/index.js",
"types": "./dist/providers/index.d.ts"
},
"./providers/*": {
"require": "./dist/providers/*.js",
"import": "./dist/providers/*.js",
"types": "./dist/providers/*.d.ts"
},
"./types": {
"require": "./dist/types/index.js",
"import": "./dist/types/index.js",
"types": "./dist/types/index.d.ts"
},
"./types/*": {
"require": "./dist/types/*.js",
"import": "./dist/types/*.js",
"types": "./dist/types/*.d.ts"
},
"./typebox": {
"require": "./dist/typebox/client.js",
"import": "./dist/typebox/client.js",
"types": "./dist/typebox/client.d.ts"
}
},
"bugs": {
"url": "https://github.com/FOSWLY/translate/issues"
},
"description": "A library for free and not only using various translation APIs",
"engines": {
"node": ">=18"
},
"files": [
"dist"
],
"homepage": "https://github.com/FOSWLY/translate",
"keywords": [
"yandex",
"foswly",
"translate",
"text",
"detect",
"langs",
"language"
],
"license": "MIT",
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "bun test",
"build:default": "tsc --project tsconfig.build.json --outdir ./dist && tsc-alias -p tsconfig.build.json && tsc-esm-fix --tsconfig tsconfig.build.json",
"build:doc": "typedoc --options typedoc.json --tsconfig tsconfig.build.json",
"build:bun": "bun run ./scripts/build.ts",
"build:all": "bun build:bun && bun build:doc",
"lint": "bunx oxlint --ignore-path=.oxlintignore && bunx eslint",
"prepare": "husky"
},
"type": "module",
"types": "./dist/index.d.ts"
}