Skip to content

Commit

Permalink
build(typescript): reference the new definition file in the package.j…
Browse files Browse the repository at this point in the history
…son "types" fields

Signed-off-by: Jonathan MASSUCHETTI <jonathan.massuchetti@dappit.fr>
  • Loading branch information
JesusTheHun committed Apr 18, 2024
1 parent d20f690 commit 560c4a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/JavaScript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"browser": "dist/antlr4.web.mjs",
"main": "dist/antlr4.node.cjs",
"module": "dist/antlr4.node.mjs",
"types": "src/antlr4/index.d.ts",
"types": "src/antlr4/index.d.cts",
"repository": "antlr/antlr4.git",
"keywords": [
"lexer",
Expand Down Expand Up @@ -42,8 +42,8 @@
},
"scripts": {
"build": "webpack",
"test": "jasmine && npm run test:projects",
"test:projects": "bash test-projects.sh",
"test": "jasmine && npm run test:builds",
"test:builds": "bash test-builds.sh",
"coverage": "c8 jasmine",
"lint": "eslint src/antlr4/"
},
Expand Down

0 comments on commit 560c4a0

Please sign in to comment.