-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
65 lines (65 loc) · 2.97 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "solc-typed-ast",
"version": "18.2.3",
"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-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": "npm run clean && npm run build-comments-parser && npm run build-file-level-definitions-parser && 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"
},
"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://consensys.github.io/solc-typed-ast",
"bugs": "https://github.com/ConsenSys/solc-typed-ast/issues",
"repository": "https://github.com/ConsenSys/solc-typed-ast.git",
"license": "Apache-2.0"
}