Commit 00844c48 authored by OptimismBot's avatar OptimismBot Committed by GitHub

Merge pull request #5915 from ethereum-optimism/willc/dev-server-fault

feat(fault-detector): Better package.json
parents 5e3219cf 685addec
---
'@eth-optimism/fault-detector': patch
---
Add better source maps and developer support
......@@ -9,10 +9,12 @@
"dist/*"
],
"scripts": {
"start": "ts-node ./src/service.ts",
"start": "node --enable-source-maps dist/src/service.js",
"dev": "tsx watch ./src/service.ts",
"test": "hardhat test",
"test:coverage": "nyc hardhat test && nyc merge .nyc_output coverage.json",
"build": "tsc -p tsconfig.json",
"preview": "yarn build && yarn start",
"clean": "rimraf dist/ ./tsconfig.tsbuildinfo",
"lint": "yarn lint:fix && yarn lint:check",
"pre-commit": "lint-staged",
......@@ -44,7 +46,7 @@
"ethers": "^5.7.0",
"hardhat": "^2.9.6",
"lodash": "^4.17.21",
"ts-node": "^10.9.1"
"tsx": "^3.12.7"
},
"dependencies": {
"@eth-optimism/common-ts": "^0.8.1",
......
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./dist"
"outDir": "./dist",
"sourceMap": true
},
"include": [
"package.json",
......
......@@ -20912,6 +20912,17 @@ tsx@^3.12.2:
optionalDependencies:
fsevents "~2.3.2"
tsx@^3.12.7:
version "3.12.7"
resolved "https://registry.yarnpkg.com/tsx/-/tsx-3.12.7.tgz#b3b8b0fc79afc8260d1e14f9e995616c859a91e9"
integrity sha512-C2Ip+jPmqKd1GWVQDvz/Eyc6QJbGfE7NrR3fx5BpEHMZsEHoIxHL1j+lKdGobr8ovEyqeNkPLSKp6SCSOt7gmw==
dependencies:
"@esbuild-kit/cjs-loader" "^2.4.2"
"@esbuild-kit/core-utils" "^3.0.0"
"@esbuild-kit/esm-loader" "^2.5.5"
optionalDependencies:
fsevents "~2.3.2"
tty-table@^4.1.5:
version "4.1.6"
resolved "https://registry.yarnpkg.com/tty-table/-/tty-table-4.1.6.tgz#6bd58338f36c94cce478c3337934d8a65ab40a73"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment