-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 2.8 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 2.8 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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "@everruns/bashkit",
"version": "0.1.20",
"description": "Sandboxed bash interpreter for JavaScript/TypeScript",
"main": "wrapper.js",
"browser": "bashkit.wasi-browser.js",
"types": "wrapper.d.ts",
"type": "module",
"exports": {
".": {
"browser": "./bashkit.wasi-browser.js",
"default": "./wrapper.js"
},
"./langchain": {
"default": "./langchain.js"
},
"./anthropic": {
"default": "./anthropic.js"
},
"./openai": {
"default": "./openai.js"
},
"./ai": {
"default": "./ai.js"
}
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/everruns/bashkit"
},
"keywords": [
"bash",
"interpreter",
"sandbox",
"ai",
"agent",
"tool"
],
"napi": {
"binaryName": "bashkit",
"targets": [
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"x86_64-pc-windows-msvc"
]
},
"files": [
"wrapper.js",
"wrapper.d.ts",
"langchain.js",
"langchain.d.ts",
"anthropic.js",
"anthropic.d.ts",
"openai.js",
"openai.d.ts",
"ai.js",
"ai.d.ts",
"index.cjs",
"index.d.ts",
"index.d.cts",
"bashkit.*.node",
"bashkit.wasi-browser.js",
"bashkit.wasi.cjs",
"bashkit.wasm32-wasi.wasm",
"wasi-worker.mjs",
"wasi-worker-browser.mjs"
],
"scripts": {
"build": "npm run build:napi && npm run build:cjs && npm run build:ts",
"build:napi": "napi build --platform --release",
"build:wasm": "napi build --platform --target wasm32-wasip1-threads --release",
"build:cjs": "node -e \"const fs=require('fs'); if(fs.existsSync('index.js')){fs.renameSync('index.js','index.cjs')}; if(fs.existsSync('index.d.ts')){fs.copyFileSync('index.d.ts','index.d.cts')}\"",
"build:ts": "tsc",
"artifacts": "napi artifacts",
"test": "ava",
"lint": "oxlint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"type-check": "tsc --noEmit",
"version": "napi version"
},
"optionalDependencies": {
"@napi-rs/wasm-runtime": "^1.1.1"
},
"peerDependencies": {
"@langchain/core": ">=0.3",
"zod": ">=3"
},
"peerDependenciesMeta": {
"@langchain/core": {
"optional": true
},
"zod": {
"optional": true
}
},
"devDependencies": {
"@langchain/core": "^1.1.39",
"@napi-rs/cli": "^3.0.0",
"@types/node": "^25.5.0",
"ava": "^6.2.0",
"oxlint": "^0.16.0",
"prettier": "^3.4.0",
"tsx": "^4.21.0",
"typescript": "^5.7.0",
"zod": "^3"
},
"ava": {
"extensions": {
"ts": "module"
},
"timeout": "2m",
"workerThreads": false,
"nodeArguments": [
"--import=tsx"
]
},
"engines": {
"node": ">= 18"
}
}