generated from joyqi/typescript-module-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
65 lines (65 loc) · 1.8 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
{
"name": "translatorchain",
"keywords": [],
"author": "joyqi",
"license": "",
"description": "",
"repository": {
"type": "git",
"url": "git+https://github.com/joyqi/translatorchain.git"
},
"homepage": "https://github.com/joyqi/translatorchain#readme",
"bugs": {
"url": "https://github.com/joyqi/translatorchain/issues"
},
"version": "latest",
"exports": {
".": {
"types": "./lib/types/index.d.ts",
"import": "./lib/mjs/index.js",
"require": "./lib/cjs/index.js"
},
"./package.json": "./package.json"
},
"main": "lib/cjs/index.js",
"module": "lib/mjs/index.js",
"types": "lib/types/index.d.ts",
"bin": {
"tc": "./lib/cjs/cli.js"
},
"scripts": {
"start": "pnpm exec ts-node ./src/cli.ts",
"clear": "rm -rf ./lib",
"patch:esm-js": "npx tsc-esm-fix --tsconfig=tsconfig.mjs.json",
"patch:esm-type": "echo '{ \"type\": \"module\" }' >> lib/mjs/package.json",
"build:esm": "npx tsc -p tsconfig.mjs.json && npm run patch:esm-js && npm run patch:esm-type",
"build:cjs": "npx tsc",
"build": "npm run clear && npm run build:esm && npm run build:cjs",
"test": "npx mocha"
},
"devDependencies": {
"@types/flat": "^5.0.2",
"@types/js-yaml": "^4.0.5",
"@types/marked": "^5.0.0",
"@types/mocha": "latest",
"@types/node": "latest",
"@types/yargs": "^17.0.24",
"assert": "latest",
"mocha": "latest",
"ts-node": "latest",
"tsc-esm-fix": "latest",
"typescript": "latest"
},
"dependencies": {
"@dqbd/tiktoken": "^1.0.13",
"deep-object-diff": "^1.1.9",
"detect-file-encoding-and-language": "^2.3.3",
"detect-indent": "^6.0.0",
"flat": "^5.0.2",
"js-yaml": "^4.1.0",
"langchain": "^0.0.70",
"marked": "^5.1.0",
"ora": "^5.0.0",
"yargs": "^17.7.2"
}
}