-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 1.84 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 1.84 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
67
68
69
70
71
72
73
74
75
76
77
{
"name": "@gptscript-ai/gptscript",
"version": "v0.9.8",
"description": "Run gptscript in node.js",
"source": "src/gptscript.ts",
"main": "dist/gptscript.js",
"types": "dist/gptscript.d.ts",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/gptscript-ai/node-gptscript.git"
},
"bin": {
"gptscript": "bin/gptscript"
},
"scripts": {
"pretest": "npm run install-binary",
"install-binary": "node scripts/install-binary.js",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"postinstall": "node scripts/install-binary.js",
"clean": "rm -rf dist",
"prepare": "npm run build",
"build": "tsc"
},
"keywords": [
"gptscript",
"gpt",
"AI"
],
"author": "Bill Maxwell <bill@acorn.io>",
"license": "Apache-2.0",
"dependencies": {
"@types/sync-fetch": "^0.4.3",
"adm-zip": "^0.5.10",
"node-downloader-helper": "^2.1.9",
"tar": "^6.2.0"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/preset-env": "^7.24.5",
"@babel/preset-typescript": "^7.24.1",
"@swc/cli": "^0.3.9",
"@swc/core": "^1.4.2",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.8",
"babel-loader": "^9.1.3",
"babel-plugin-transform-import-meta": "^2.2.1",
"copyfiles": "^2.4.1",
"jest": "^29.7.0",
"npm-run-all": "^4.1.5",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"typescript": "^5.4.5",
"url": "^0.11.3"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"transform": {
"^.+\\.ts?$": [
"ts-jest",
{
"useESM": true
}
]
},
"testEnvironment": "node",
"testRegex": "/tests/.*\\.(test|spec)?\\.(ts|tsx)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}