-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.41 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.41 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
{
"name": "@boxlite-ai/boxlite",
"version": "0.9.7",
"description": "BoxLite - Embeddable micro-VM runtime for secure, isolated code execution",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"native/boxlite.js"
],
"workspaces": [
"npm/*"
],
"napi": {
"binaryName": "boxlite",
"targets": [
"aarch64-apple-darwin",
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu"
],
"package": {
"name": "@boxlite-ai/boxlite"
}
},
"scripts": {
"build": "tsc",
"format": "prettier --write \"lib/**/*.ts\" \"tests/**/*.ts\" \"vitest.config.ts\" \"package.json\" \"tsconfig.json\"",
"format:check": "prettier --check \"lib/**/*.ts\" \"tests/**/*.ts\" \"vitest.config.ts\" \"package.json\" \"tsconfig.json\"",
"build:native": "mkdir -p native && napi build --platform --js boxlite.js --esm --output-dir native",
"artifacts": "napi create-npm-dirs --npm-dir npm && napi artifacts --output-dir native --npm-dir npm && node -e \"const{readdirSync,rmSync}=require('fs');readdirSync('npm').forEach(p=>{if(!readdirSync('npm/'+p).some(f=>f.endsWith('.node')))rmSync('npm/'+p,{recursive:true})})\"",
"prepack": "napi prepublish -p npm --skip-optional-publish --tag-style npm",
"pack:all": "mkdir -p packages && npm pack --pack-destination packages && npm pack --workspaces --pack-destination packages",
"test": "vitest run --project unit",
"test:integration": "vitest run --project integration",
"test:all": "vitest run",
"test:watch": "vitest"
},
"devDependencies": {
"@napi-rs/cli": "^3.0.0-alpha.62",
"@types/node": "^22.0.0",
"playwright-core": "1.58.0",
"prettier": "^3.6.2",
"typescript": "^5.2.0",
"vitest": "^4.1.8"
},
"peerDependencies": {
"playwright-core": ">=1.58.0"
},
"peerDependenciesMeta": {
"playwright-core": {
"optional": true
}
},
"keywords": [
"boxlite",
"sandbox",
"container",
"virtualization",
"vm",
"kvm",
"hypervisor",
"isolation",
"security",
"code-execution"
],
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/boxlite-ai/boxlite.git",
"directory": "sdks/node"
},
"bugs": {
"url": "https://github.com/boxlite-ai/boxlite/issues"
},
"engines": {
"node": ">=18.0.0"
},
"author": "Dorian Zheng <xingzhengde72@gmail.com>"
}