mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-04 01:18:49 +08:00
- Run the shared compiler and CLI natively, including library builds and compile-time evaluation. - Install native platform packages and ship relocatable standalone distributions. - Preserve program semantics and reuse validated build artifacts for fast rebuilds.
52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
{
|
|
"name": "scriptc",
|
|
"version": "0.1.7",
|
|
"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:*",
|
|
"@scriptc/runtime-darwin-arm64": "workspace:*",
|
|
"@scriptc/runtime-darwin-x64": "workspace:*",
|
|
"@scriptc/runtime-linux-x64-gnu": "workspace:*",
|
|
"@scriptc/runtime-linux-arm64-gnu": "workspace:*",
|
|
"@scriptc/runtime-linux-x64-musl": "workspace:*",
|
|
"@scriptc/runtime-linux-arm64-musl": "workspace:*",
|
|
"@scriptc/runtime-win32-x64-msvc": "workspace:*",
|
|
"@scriptc/runtime-wasm32-wasi": "workspace:*",
|
|
"@scriptc/runtime-ios-arm64": "workspace:*",
|
|
"@scriptc/runtime-ios-simulator-arm64": "workspace:*",
|
|
"@scriptc/runtime-android-arm64": "workspace:*"
|
|
}
|
|
}
|