Skip to content

Commit 5c92f66

Browse files
committed
feat(tracer): parser tracer
1 parent afb3729 commit 5c92f66

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@
2828
},
2929
"scripts": {
3030
"build": "npx peggy --cache -o ./build/parser.js ./solidity.pegjs",
31-
"compile": " npx peggy -o ./build/imports_parser.js ./imports.pegjs",
31+
"compile": "npx peggy -o ./build/imports_parser.js ./imports.pegjs",
3232
"ci": "./entrypoint.sh && npx nyc --reporter=lcov npm test && npx codecov",
33+
"tracer": "./node_modules/.bin/peggy --trace --output parser-trace.js solidity.pegjs",
3334
"lint": "npx eslint .",
34-
"run": "npm run build",
35+
"run": "npm run build && npm run compile",
3536
"test": "npx mocha --timeout 5000 --reporter spec"
3637
},
3738
"repository": {
File renamed without changes.

0 commit comments

Comments
 (0)