Skip to content

Commit

Permalink
removing antlr4ts and only using antlr4
Browse files Browse the repository at this point in the history
  • Loading branch information
Janther committed Dec 19, 2023
1 parent 42ba32e commit 5fc2a5c
Show file tree
Hide file tree
Showing 14 changed files with 3,810 additions and 6,680 deletions.
257 changes: 121 additions & 136 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 11 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"types": "dist/src/index.d.ts",
"scripts": {
"antlr": "antlr4ts -visitor antlr/Solidity.g4 -o src && npm run tokens",
"antlr": "antlr -Dlanguage=TypeScript -visitor -no-listener -o src/ antlr/Solidity.g4 && npm run tokens",
"tokens": "node ./scripts/tokens-string.js",
"build:browser": "esbuild src/index.ts --outfile=dist/index.iife.js --bundle --sourcemap --format=iife --global-name=SolidityParser --inject:./process-shim.js",
"build:node": "esbuild src/index.ts --outfile=dist/index.cjs.js --bundle --sourcemap --format=cjs --platform=node --target=node12",
Expand Down Expand Up @@ -43,22 +43,18 @@
"url": "https://github.com/solidity-parser/parser"
},
"license": "MIT",
"dependencies": {
"antlr4ts": "^0.5.0-alpha.4"
},
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"antlr4": "^4.9.2",
"antlr4ts-cli": "^0.5.0-alpha.4",
"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"antlr4": "^4.13.1-patch-1",
"assert": "^2.1.0",
"chai": "^4.3.10",
"esbuild": "^0.11.13",
"eslint": "^8.54.0",
"eslint-plugin-import": "^2.29.0",
"eslint": "^8.56.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0",
Expand All @@ -67,11 +63,11 @@
"karma-mocha": "^2.0.1",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^3.1.0",
"puppeteer": "^21.5.2",
"prettier": "^3.1.1",
"puppeteer": "^21.6.1",
"shx": "^0.3.4",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"util": "^0.12.5",
"yarn": "^1.22.21"
},
Expand Down
Loading

0 comments on commit 5fc2a5c

Please sign in to comment.