Skip to content

Commit

Permalink
build(nix): Add 'ts' and 'tsx'
Browse files Browse the repository at this point in the history
  • Loading branch information
kkirkov committed Mar 27, 2024
1 parent a5587e1 commit 4096729
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions beacon-light-client/solidity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"build:tsc": "tsc -p ./tsconfig.json",
"build:sol": "hardhat compile",
"ts": "yarn node --import tsx",
"test": "yarn hardhat test",
"gas": "yarn hardhat run test/utils/gas-reporter/src/index.ts"
},
Expand Down
6 changes: 4 additions & 2 deletions relay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"main": "index.js",
"scripts": {
"build:tsc": "tsc -p ./tsconfig.json",
"pollUpdatesWorker": "yarn ts-node workers/poll-updates/poll-updates-worker.ts",
"proofGenerationWorker": "yarn ts-node workers/prover/prover-worker.ts"
"ts": "yarn node --import tsx",
"pollUpdatesWorker": "yarn ts workers/poll-updates/poll-updates-worker.ts",
"proofGenerationWorker": "yarn ts workers/prover/prover-worker.ts"
},
"type": "commonjs",
"author": "",
Expand Down Expand Up @@ -34,6 +35,7 @@
"devDependencies": {
"@types/node": "^20.11.19",
"@types/snarkjs": "^0.7.8",
"tsx": "^4.7.1",
"typescript": "5.2.2"
}
}
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3895,6 +3895,7 @@ __metadata:
redis: "npm:^4.6.10"
snarkjs: "npm:^0.7.3"
ts-node: "npm:^10.9.1"
tsx: "npm:^4.7.1"
typescript: "npm:5.2.2"
web3: "npm:^1.10.0"
web3-eth: "npm:^1.10.0"
Expand Down

0 comments on commit 4096729

Please sign in to comment.