{
    "name": "solc-typed-ast",
    "version": "20.0.9",
    "description": "A TypeScript library providing a normalized typed Solidity AST along with the utilities necessary to generate the AST (from Solc) and traverse/manipulate it.",
    "keywords": [],
    "files": [
        "dist"
    ],
    "main": "dist/index.js",
    "types": "dist/index.d.ts",
    "bin": {
        "sol-ast-compile": "dist/bin/compile.js"
    },
    "scripts": {
        "clean": "rm -rf dist/ src/compile/inference/file_level_definitions_parser.ts test/utils/typeStrings/typeString_parser.ts",
        "transpile": "tsc",
        "build-typeIdentifier-parser": "tspegjs -o src/typeIdentifiers/typeIdentifier_parser_gen.ts --custom-header-file src/typeIdentifiers/typeIdentifier_parser_header.ts --cache src/typeIdentifiers/typeIdentifier_grammar.pegjs",
        "build-type-parser": "tspegjs -o test/utils/typeStrings/typeString_parser.ts --custom-header-file test/utils/typeStrings/typeString_parser_header.ts --cache test/utils/typeStrings/typeString_grammar.pegjs",
        "build-file-level-definitions-parser": "tspegjs -o src/compile/inference/file_level_definitions_parser.ts --custom-header-file src/compile/inference/file_level_definitions_parser_header.ts --cache src/compile/inference/file_level_definitions.pegjs",
        "build-comments-parser": "tspegjs -o src/ast/comments/comments_parser.ts --custom-header-file src/ast/comments/comments_parser_header.ts --cache src/ast/comments/comments_grammar.pegjs",
        "build-parsers": "npm run build-comments-parser && npm run build-file-level-definitions-parser && npm run build-typeIdentifier-parser",
        "build": "npm run clean && npm run build-parsers && npm run transpile && chmod u+x dist/bin/compile.js",
        "lint": "eslint src/ test/ --ext=ts",
        "lint:fix": "eslint src/ test/ --ext=ts --fix",
        "test": "npm run build-type-parser && NODE_OPTIONS='--max-old-space-size=2048' jest --coverage",
        "docs:render": "typedoc",
        "docs:clear": "rm -rf docs/",
        "docs:refresh": "npm run docs:clear && npm run docs:render",
        "prepare": "npm run build"
    },
    "dependencies": {
        "axios": "^1.6.8",
        "commander": "^12.0.0",
        "decimal.js": "^10.4.3",
        "findup-sync": "^5.0.0",
        "fs-extra": "^11.2.0",
        "jsel": "^1.1.6",
        "semver": "^7.6.0",
        "solc": "0.8.25",
        "src-location": "^1.1.0",
        "web3-eth-abi": "^4.2.0",
        "ethereum-cryptography": "3.2.0",
        "@ethereumjs/util": "10.1.0"
    },
    "devDependencies": {
        "@types/fs-extra": "^11.0.4",
        "@types/jest": "^29.5.12",
        "@types/node": "^20.11.30",
        "@types/semver": "^7.5.8",
        "@typescript-eslint/eslint-plugin": "^7.3.1",
        "@typescript-eslint/parser": "^7.3.1",
        "eslint": "^8.57.0",
        "eslint-config-prettier": "^9.1.0",
        "eslint-plugin-prettier": "^5.1.3",
        "expect": "^29.7.0",
        "jest": "^29.7.0",
        "peggy": "^2.0.1",
        "prettier": "^3.2.5",
        "ts-jest": "^29.1.2",
        "ts-node": "^10.9.2",
        "ts-pegjs": "^3.1.0",
        "typedoc": "^0.25.12",
        "typescript": "^5.4.3"
    },
    "homepage": "https://ConsenSysDiligence.github.io/solc-typed-ast",
    "bugs": "https://github.com/ConsenSysDiligence/solc-typed-ast/issues",
    "repository": "https://github.com/ConsenSysDiligence/solc-typed-ast.git",
    "license": "Apache-2.0"
}
