-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
69 lines (69 loc) · 2.15 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
{
"name": "@kdwnil/translator-utils",
"private": true,
"version": "0.0.2-alpha.35",
"description": "translate utils",
"homepage": "https://github.com/BANKA2017/translator-utils",
"bugs": {
"url": "https://github.com/BANKA2017/translator-utils/issues"
},
"main": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"workerd": {
"default": "./dist/esm/translator.mod.js"
},
"browser": {
"default": "./dist/translator.js"
},
"default": {
"default": "./dist/esm/index.js"
}
},
"./package.json": "./package.json"
},
"type": "module",
"author": "BANKA2017 (https://github.com/BANKA2017/)",
"license": "MIT",
"repository": "github:BANKA2017/translator-utils",
"jsdelivr": "dist/translator.min.js",
"unpkg": "dist/translator.min.js",
"dependencies": {
"hpagent": "^1.2.0",
"unws": "^0.2.4",
"ws": "^8.18.0"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.1",
"@types/node": "^22.9.1",
"prettier": "^3.3.3",
"rollup": "^4.27.3",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-cleanup": "^3.2.1",
"tsc": "^2.0.4",
"tslib": "^2.8.1",
"typescript": "^5.6.3",
"vitest": "^2.1.5"
},
"scripts": {
"build": "npx tsc -p tsconfig.json --outDir lib/",
"build:umd": "npx rollup -c rollup.config.js",
"rebuild": "npm run clean && npm run build && npm run build:umd",
"clean": "rm -rf lib/ dist/",
"test": "npx vitest",
"lint": "npx prettier --check .",
"format": "npx prettier --write ."
},
"workspaces": [
"packages/*"
],
"packageManager": "yarn@4.5.1"
}