-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 2.82 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 2.82 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
{
"name": "node-rc",
"version": "2.0.0",
"description": "Fast, production-ready runtime controller for executing code across multiple languages from TypeScript",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Rizome Labs",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/rizome-dev/node-rc.git"
},
"bugs": {
"url": "https://github.com/rizome-dev/node-rc/issues"
},
"homepage": "https://github.com/rizome-dev/node-rc#readme",
"keywords": [
"runtime",
"code-execution",
"sandbox",
"python",
"javascript",
"typescript",
"java",
"c",
"wasm",
"ai-agents",
"interpreter"
],
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "npm run build:native && npm run build:ts",
"build:native": "cd native && cargo build --release && cd .. && npx napi build --platform --release --cargo-cwd native",
"build:ts": "tsc",
"clean": "rm -rf dist native/target native/*.node",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"bench": "node benchmarks/index.js",
"verify:porffor": "node scripts/verify-porffor.js",
"lint": "eslint src --ext .ts",
"format": "prettier --write 'src/**/*.ts'",
"prepublishOnly": "npm run build:ts",
"postinstall": "node scripts/postinstall.js",
"version": "npm run build && git add -A",
"postversion": "git push && git push --tags"
},
"files": [
"dist/**/*",
"native/index.js",
"native/index.d.ts",
"native/package.json",
"native/*.node",
"scripts/postinstall.js",
"README.md",
"CHANGELOG.md",
"LICENSE",
"SETUP.md",
"LLVM_REQUIREMENTS.md"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"os": [
"darwin",
"linux",
"win32"
],
"cpu": [
"x64",
"arm64",
"ia32"
],
"dependencies": {
"@napi-rs/cli": "^2.18.0",
"porffor": "^0.60.8"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/jest": "^29.5.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.0",
"typescript": "^5.3.0",
"prettier": "^3.0.0",
"eslint": "^8.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/__tests__/**/*.ts",
"**/?(*.)+(spec|test).ts"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts",
"!src/**/__tests__/**"
]
},
"napi": {
"name": "node-rc",
"triples": {
"defaults": true,
"additional": [
"x86_64-pc-windows-msvc",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"aarch64-apple-darwin",
"aarch64-unknown-linux-gnu"
]
}
}
}