mirror of
https://github.com/luxfi/teleport.git
synced 2026-10-30 15:15:49 +00:00
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]>
62 lines
1.6 KiB
JSON
62 lines
1.6 KiB
JSON
{
|
|
"name": "@luxteleport/mpc",
|
|
"version": "2.0.0",
|
|
"description": "Teleport MPC Node - Multi-Party Compute signature service",
|
|
"main": "dist/teleporter.js",
|
|
"types": "dist/teleporter.d.ts",
|
|
"scripts": {
|
|
"typecheck": "../node_modules/tsgo/bin/tsc --noEmit --incremental false",
|
|
"build": "tsc",
|
|
"start": "node dist/teleporter.js",
|
|
"dev": "ts-node src/teleporter.ts",
|
|
"lint": "eslint src/**/*.ts",
|
|
"test": "jest",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"dependencies": {
|
|
"@luxfi/pq-profile-ids-ts": "file:../../pq-profile-ids/ts",
|
|
"@noble/curves": "^2.2.0",
|
|
"@noble/hashes": "^2.2.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"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^4.17.21",
|
|
"@types/jest": "^29.5.14",
|
|
"@types/node": "^20.10.5",
|
|
"eslint": "^8.56.0",
|
|
"jest": "^29.7.0",
|
|
"ts-jest": "^29.4.9",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "6.0.3"
|
|
},
|
|
"jest": {
|
|
"preset": "ts-jest",
|
|
"testEnvironment": "node",
|
|
"testMatch": [
|
|
"**/__tests__/**/*.test.ts"
|
|
],
|
|
"transform": {
|
|
"^.+\\.(t|j)sx?$": ["ts-jest", { "useESM": false }]
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"node_modules/.pnpm/(?!(@noble)\\+)"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^(\\.{1,2}/.*)\\.js$": "$1",
|
|
"^@noble/curves/secp256k1\\.js$": "@noble/curves/secp256k1.js",
|
|
"^@noble/curves/(.*)\\.js$": "@noble/curves/$1.js"
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"author": "Lux Industries Inc",
|
|
"license": "MIT"
|
|
}
|