Skip to content

Commit 2bb7b99

Browse files
committed
chore: fix build
1 parent 77e2c4a commit 2bb7b99

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"dist"
2222
],
2323
"scripts": {
24-
"build": "rimraf dist && tsc",
24+
"build": "rimraf dist && npm run generate:parser && npm run generate:contexts && tsc",
2525
"format": "prettier --write src/**.ts **/*.json",
2626
"prepublish": "yarn build",
2727
"generate:parser": "antlr4ts -visitor -o src/parser src/parser/JavaLexer.g4 src/parser/JavaParser.g4",

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
"lib": ["es2015"],
88
"experimentalDecorators": true
99
},
10+
"include": ["src/**/*.ts"],
1011
"exclude": ["src/**/*.spec.ts"]
1112
}

0 commit comments

Comments
 (0)