Files
scriptc/packages/compiler/package.json
Chris Tate ee9f0d64eb feat: ship the self-hosted native scriptc CLI (#585)
* feat: ship the self-hosted native scriptc CLI

- 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.

* fix: complete native CLI integration and validation

- Preserve library diagnostics and run recursive compiler work on the main stack.
- Restore packaged helper permissions and exercise native npm and Wasm library builds.
- Recover interrupted Sandbox status probes within the original command deadline.
2026-09-30 02:17:56 -05:00

66 lines
2.3 KiB
JSON

{
"name": "@scriptc/compiler",
"version": "0.1.7",
"description": "The scriptc compiler \u2014 TypeScript/JavaScript frontend, typed IR, LLVM backend",
"license": "Apache-2.0",
"homepage": "https://scriptc.dev",
"repository": {
"type": "git",
"url": "git+https://github.com/vercel-labs/scriptc.git",
"directory": "packages/compiler"
},
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./startup-cache": "./dist/startup-cache.js",
"./scriptc.d.ts": "./ambient/scriptc.d.ts",
"./scriptc-overrides.d.ts": "./ambient/scriptc-overrides.d.ts",
"./scriptc-node-fallback.d.ts": "./ambient/scriptc-node-fallback.d.ts",
"./surface-manifest.json": "./surface-manifest.json",
"./cli/command": "./dist/cli/command.js",
"./cli/host": "./dist/cli/host.js",
"./cli/paths": "./dist/cli/paths.js",
"./cli/output-options": "./dist/cli/output-options.js",
"./cli/usage": "./dist/cli/usage.js",
"./cli/wasi-runner": "./dist/cli/wasi-runner.js"
},
"files": [
"dist",
"ambient",
"surface-manifest.json"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "node node_modules/typescript/bin/tsc -p tsconfig.json"
},
"dependencies": {
"@scriptc/runtime": "workspace:*",
"typescript": "7.0.2",
"typescript5": "npm:typescript@5.9.3"
},
"optionalDependencies": {
"@scriptc/llvm-darwin-arm64": "workspace:*",
"@scriptc/llvm-darwin-x64": "workspace:*",
"@scriptc/llvm-linux-x64-gnu": "workspace:*",
"@scriptc/llvm-linux-arm64-gnu": "workspace:*",
"@scriptc/llvm-linux-x64-musl": "workspace:*",
"@scriptc/llvm-linux-arm64-musl": "workspace:*",
"@scriptc/llvm-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:*"
}
}