-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 2.3 KB
/
Copy pathpackage.json
File metadata and controls
48 lines (48 loc) · 2.3 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
{
"name": "typescript-native-bridge",
"version": "6.0.3-bridge.6.tsgo.7.0.2",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/johnsoncodehk/typescript-native-bridge.git"
},
"engines": {
"node": ">=20.19"
},
"publishConfig": {
"access": "public"
},
"description": "Build host for a tsgo-backed TypeScript fork: pins upstream `microsoft/TypeScript` and `microsoft/typescript-go` as submodules and materializes a small patch set on top — a tsgoChecker overlay on TypeScript plus a cgo bridge (bridge.dylib) on typescript-go. The built fork (`lib/typescript.js`) is a drop-in `typescript` whose type checker runs in-process on tsgo via the NAPI bridge.",
"main": "./lib/typescript.js",
"types": "./lib/typescript.d.ts",
"bin": {
"tsc": "./bin/tsc",
"tsserver": "./bin/tsserver"
},
"files": [
"bin",
"lib",
"vendor",
"NOTICE"
],
"scripts": {
"setup": "git submodule update --init && npm run build:js && npm run build:bridge && npm run build:ts",
"patch:tsgo": "node tools/patch-tsgo.js",
"patch:ts": "node tools/patch-typescript.js",
"save-patches": "node tools/save-tsgo-patches.js",
"save-ts-patches": "node tools/save-typescript-patches.js",
"bump:version": "node tools/bump-version.mjs",
"check:enums": "node tools/check-enum-remap.mjs",
"check:lib-sync": "node tools/check-lib-sync.mjs",
"check:bundle-shape": "node tools/check-bundle-shape.mjs",
"check:sourcefile-guard": "node tools/check-sourcefile-guard.mjs",
"check:sim-nav": "node tools/sim-nav-parallel.mjs",
"check:lib": "node tools/check-lib-sync.mjs && node tools/check-bundle-shape.mjs",
"refresh": "npm run patch:ts && npm run patch:tsgo && npm run check:lib",
"build:js": "node tools/patch-tsgo.js && cd typescript-go/_packages/native-preview && npm install --no-save @types/node && npx tsc -b && cd ../../.. && node tools/sync-vendor-native-preview.js",
"build:lib": "npm run patch:ts && cd typescript && npm run build:compiler && npx hereby lkg && cd .. && node tools/patch-lib-shims.js && node tools/sync-bundled-libs.js && npm run check:bundle-shape",
"build:ts": "node tools/patch-typescript.js && cd typescript && npm install && npm run build:compiler && npx hereby lkg",
"build:bridge": "node tools/patch-tsgo.js && node tools/build-bridge.js"
},
"dependencies": {}
}