UNPKG

@typescript/native-preview

Version:

Preview CLI and JS API for the native TypeScript compiler port

95 lines • 3.56 kB
{ "name": "@typescript/native-preview", "version": "7.0.0-dev.20260707.2", "license": "Apache-2.0", "author": "Microsoft Corp.", "homepage": "https://www.typescriptlang.org/", "description": "Preview CLI and JS API for the native TypeScript compiler port", "keywords": [ "TypeScript", "Microsoft", "compiler", "language", "javascript", "tsgo" ], "bugs": { "url": "https://github.com/microsoft/typescript-go/issues" }, "repository": { "type": "git", "url": "https://github.com/microsoft/typescript-go.git" }, "type": "module", "preferUnplugged": true, "engines": { "node": ">=16.20.0" }, "files": [ "bin", "lib", "dist", "vendor", "NOTICE.txt" ], "bin": { "tsgo": "./bin/tsgo" }, "exports": { "./package.json": "./package.json", ".": "./lib/version.cjs", "./unstable/sync": "./dist/api/sync/api.js", "./unstable/async": "./dist/api/async/api.js", "./unstable/fs": "./dist/api/fs.js", "./unstable/proto": "./dist/api/proto.js", "./unstable/ast": "./dist/ast/index.js", "./unstable/ast/is": "./dist/ast/is.js", "./unstable/ast/factory": "./dist/ast/factory.generated.js", "./unstable/ast/utils": "./dist/ast/utils.js", "./unstable/ast/scanner": "./dist/ast/scanner.js", "./unstable/ast/visitor": "./dist/ast/visitor.js", "./unstable/ast/clone": "./dist/ast/clone.js" }, "imports": { "#getExePath": "./lib/getExePath.js", "#enums/*": { "types": "./dist/enums/*.enum.d.ts", "default": "./dist/enums/*.js" }, "#vscode-jsonrpc/node": "./vendor/vscode-jsonrpc/lib/node/main.js" }, "scripts": { "node": "node --experimental-strip-types --no-warnings --conditions @typescript/source", "generate": "npm run generate:ast && npm run generate:encoder && npm run generate:enums && npm run generate:sync", "generate:ast": "node --experimental-strip-types --no-warnings ../../_scripts/generate-ts-ast.ts", "generate:encoder": "npm run node -- ../../_scripts/generate-encoder.ts", "generate:sync": "npm run node -- scripts/generateSync.ts", "generate:enums": "npx hereby generate:enums --herebyfile ../../Herebyfile.mjs", "prebuild": "npm run generate", "build": "tsc -b", "prebuild:test": "npm run generate", "build:test": "tsc -b test", "test:only": "npm run node -- --test './test/**/*.test.ts'", "pretest": "npm run generate", "test": "npm run test:only" }, "devDependencies": { "@types/node": "^25.9.4", "tinybench": "^6.0.2", "vscode-jsonrpc": "^9.0.0" }, "gitHead": "9977d6d38fcc78de8ae71770f3aa08256e6cc861", "publishConfig": { "access": "public", "tag": "latest" }, "optionalDependencies": { "@typescript/native-preview-win32-x64": "7.0.0-dev.20260707.2", "@typescript/native-preview-win32-arm64": "7.0.0-dev.20260707.2", "@typescript/native-preview-linux-x64": "7.0.0-dev.20260707.2", "@typescript/native-preview-linux-arm": "7.0.0-dev.20260707.2", "@typescript/native-preview-linux-arm64": "7.0.0-dev.20260707.2", "@typescript/native-preview-darwin-x64": "7.0.0-dev.20260707.2", "@typescript/native-preview-darwin-arm64": "7.0.0-dev.20260707.2" } }