forked from Consensys/solc-typed-ast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.82 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
66
{
"name": "solc-typed-ast",
"version": "10.3.0",
"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/ast/typestrings/typeString_parser.ts src/compile/inference/file_level_definitions_parser.ts",
"transpile": "tsc",
"build-type-parser": "tspegjs -o src/types/typeStrings/typeString_parser.ts --custom-header-file src/types/typeStrings/typeString_parser_header.ts --cache src/types/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-parsers": "npm run build-type-parser && npm run build-file-level-definitions-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": "NODE_OPTIONS='--max-old-space-size=2048' nyc mocha",
"coverage": "nyc report",
"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.1.0",
"commander": "^9.4.1",
"findup-sync": "^5.0.0",
"fs-extra": "^10.1.0",
"jsel": "^1.1.6",
"semver": "^7.3.8",
"solc": "^0.8.17",
"src-location": "^1.1.0",
"web3-eth-abi": "^1.8.0",
"decimal.js": "^10.4.1"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/mocha": "^10.0.0",
"@types/node": "^16.11.64",
"@types/semver": "^7.3.12",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"expect": "^29.1.2",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"peggy": "^2.0.1",
"prettier": "2.7.1",
"ts-node": "^10.9.1",
"ts-pegjs": "^2.1.0",
"typedoc": "^0.23.15",
"typescript": "^4.8.4"
},
"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"
}