Files
zeekayandHanzo Dev 383a2f9b0b Typecheck on the native compiler, keep 6 for the tools
typescript 7.0.2 is the native compiler and exports no JavaScript API, so ts-node,
ts-jest and hardhat cannot read it. It comes in aliased as tsgo and does the
typechecking; typescript stays on the 6 line for those tools in api, mpc and
contracts. app keeps its own pin: ts-jest 27 there caps typescript below 5.0.

The native compiler no longer pulls in every @types package implicitly, so api
names node and jest in `types`, and mpc's express app carries the annotation the
compiler asks for. api 1, mpc 1 and contracts 98 diagnostics before and after,
identical on 6.0.3 and 7.0.2.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-17 00:37:02 -07:00

50 lines
1.2 KiB
JSON

{
"name": "@luxteleport/api",
"version": "2.0.0",
"description": "Teleport Bridge API - Secure cross-chain bridge oracle service",
"main": "dist/bridge.js",
"types": "dist/bridge.d.ts",
"scripts": {
"typecheck": "../node_modules/tsgo/bin/tsc --noEmit --incremental false",
"build": "tsc",
"start": "node dist/bridge.js",
"dev": "ts-node src/bridge.ts",
"lint": "eslint src/**/*.ts",
"test": "jest",
"clean": "rm -rf dist"
},
"dependencies": {
"@noble/hashes": "^1.4.0",
"cors": "^2.8.5",
"ethers": "^6.9.0",
"express": "^4.18.2",
"express-rate-limit": "^7.1.5",
"helmet": "^7.1.0",
"mongoose": "^8.0.3"
},
"optionalDependencies": {
"@luxfi/wallet": "^1.0.11"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^20.10.5",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"typescript": "6.0.3"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": ["<rootDir>/src/**/*.test.ts"]
},
"engines": {
"node": ">=18.0.0"
},
"author": "Lux Industries Inc",
"license": "MIT"
}