Files
scriptc/packages/cli/package.json
Chris Tate 0845c7ff56 Make native installs portable and smaller (#599)
* Make native installs portable and smaller

- Support glibc 2.34 with portable compiler binaries and static LLVM helpers.
- Bundle the host runtime and discover optional cross-target packs from project dependencies.
- Add application build benchmarks covering latency, executable size, and memory.

* Keep bootstrap tools available in Sandbox validation

- Isolate Zig for native compiler bootstrap and glibc entropy contracts.
- Preserve the existing toolchain scope for cache and corpus tests.

* Fix portable compiler bootstrap linking

- Keep native support objects compatible with the destination host linker.
- Resolve installed targets using the host declared by the toolchain manifest.
2026-10-01 10:46:16 -05:00

41 lines
1.2 KiB
JSON

{
"name": "scriptc",
"version": "0.2.0",
"description": "Compile ordinary TypeScript and JavaScript to small, fast native executables \u2014 no Node, no V8, no JavaScript engine in the binary",
"license": "Apache-2.0",
"homepage": "https://scriptc.dev",
"repository": {
"type": "git",
"url": "git+https://github.com/vercel-labs/scriptc.git",
"directory": "packages/cli"
},
"type": "module",
"bin": {
"scriptc": "bin/scriptc.exe"
},
"files": [
"bin",
"scripts"
],
"engines": {
"node": ">=24"
},
"scripts": {
"build": "node ../../node_modules/typescript/bin/tsc -p tsconfig.json",
"prepack": "node scripts/prepare-native.mjs",
"postinstall": "node scripts/install-native.mjs"
},
"devDependencies": {
"@scriptc/compiler": "workspace:*"
},
"optionalDependencies": {
"@scriptc/cli-darwin-arm64": "workspace:*",
"@scriptc/cli-darwin-x64": "workspace:*",
"@scriptc/cli-linux-arm64-gnu": "workspace:*",
"@scriptc/cli-linux-arm64-musl": "workspace:*",
"@scriptc/cli-linux-x64-gnu": "workspace:*",
"@scriptc/cli-linux-x64-musl": "workspace:*",
"@scriptc/cli-win32-x64-msvc": "workspace:*"
}
}