Commit 685addec authored by Will Cory's avatar Will Cory

feat(fault-detector): Better package.json

yarn add @types/pino-pretty
parent 5e3219cf
---
'@eth-optimism/fault-detector': patch
---
Add better source maps and developer support
...@@ -9,10 +9,12 @@ ...@@ -9,10 +9,12 @@
"dist/*" "dist/*"
], ],
"scripts": { "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": "hardhat test",
"test:coverage": "nyc hardhat test && nyc merge .nyc_output coverage.json", "test:coverage": "nyc hardhat test && nyc merge .nyc_output coverage.json",
"build": "tsc -p tsconfig.json", "build": "tsc -p tsconfig.json",
"preview": "yarn build && yarn start",
"clean": "rimraf dist/ ./tsconfig.tsbuildinfo", "clean": "rimraf dist/ ./tsconfig.tsbuildinfo",
"lint": "yarn lint:fix && yarn lint:check", "lint": "yarn lint:fix && yarn lint:check",
"pre-commit": "lint-staged", "pre-commit": "lint-staged",
...@@ -44,7 +46,7 @@ ...@@ -44,7 +46,7 @@
"ethers": "^5.7.0", "ethers": "^5.7.0",
"hardhat": "^2.9.6", "hardhat": "^2.9.6",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"ts-node": "^10.9.1" "tsx": "^3.12.7"
}, },
"dependencies": { "dependencies": {
"@eth-optimism/common-ts": "^0.8.1", "@eth-optimism/common-ts": "^0.8.1",
......
{ {
"extends": "../../tsconfig.json", "extends": "../../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "./dist" "outDir": "./dist",
"sourceMap": true
}, },
"include": [ "include": [
"package.json", "package.json",
......
...@@ -20912,6 +20912,17 @@ tsx@^3.12.2: ...@@ -20912,6 +20912,17 @@ tsx@^3.12.2:
optionalDependencies: optionalDependencies:
fsevents "~2.3.2" 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: tty-table@^4.1.5:
version "4.1.6" version "4.1.6"
resolved "https://registry.yarnpkg.com/tty-table/-/tty-table-4.1.6.tgz#6bd58338f36c94cce478c3337934d8a65ab40a73" 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