-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
115 lines (115 loc) · 3.28 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "solidity-antlr4",
"description": "Solidity Lang Lexer and Parser by official ANTLR4 grammar",
"version": "2.7.1",
"keywords": [
"solidity",
"sol",
"ast",
"parser",
"lexer",
"antlr4"
],
"type": "module",
"module": "./dist/index.js",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./ast": {
"import": "./dist/ast/index.js",
"require": "./dist/ast/index.cjs",
"types": "./dist/ast/index.d.ts"
},
"./antlr4": {
"import": "./dist/antlr4/index.js",
"require": "./dist/antlr4/index.cjs",
"types": "./dist/antlr4/index.d.ts"
},
"./parser": {
"import": "./dist/parser/index.js",
"require": "./dist/parser/index.cjs",
"types": "./dist/parser/index.d.ts"
},
"./traverse": {
"import": "./dist/traverse/index.js",
"require": "./dist/traverse/index.cjs",
"types": "./dist/traverse/index.d.ts"
},
"./prettier": {
"import": "./dist/prettier/index.js",
"require": "./dist/prettier/index.cjs",
"types": "./dist/prettier/index.d.ts"
},
"./generator": {
"import": "./dist/generator/index.js",
"require": "./dist/generator/index.cjs",
"types": "./dist/generator/index.d.ts"
}
},
"files": [
"dist",
"grammar",
"CHANGELOG.md",
"README.md"
],
"sideEffects": false,
"author": "jeason.eth <[email protected]>",
"repository": "[email protected]:jeasonstudio/solidity-antlr4.git",
"lint-staged": {
"*.ts": "eslint --quiet --fix",
"*.{ts}": "prettier --loglevel warn --write"
},
"dependencies": {
"antlr4ng": "^2.0.6",
"lodash-es": "^4.17.21",
"type-fest": "^4.9.0"
},
"devDependencies": {
"@changesets/changelog-git": "^0.2.0",
"@changesets/cli": "^2.27.1",
"@types/lodash-es": "^4.17.12",
"@umijs/fabric": "^4.0.1",
"@vitest/coverage-v8": "^1.2.1",
"@vitest/ui": "^1.2.1",
"antlr4ng-cli": "^1.0.7",
"changeset": "^0.2.6",
"eslint": "^8.56.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"typedoc": "^0.25.4",
"typescript": "~5.1.0",
"unbuild": "^2.0.0",
"vitest": "^1.2.1"
},
"peerDependencies": {
"prettier": "^3.0.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"scripts": {
"grammar": "antlr4ng -Dlanguage=TypeScript -o src/antlr4/ -message-format vs2005 -visitor -listener -long-messages -Xexact-output-dir grammar/SolidityLexer.g4 grammar/SolidityParser.g4",
"dev": "unbuild --stub",
"build": "unbuild --clean",
"typedoc": "typedoc --tsconfig ./tsconfig.json --skipErrorChecking src/typedoc.ts",
"prepublishOnly": "npm run build",
"changeset": "changeset",
"release": "changeset version && changeset publish",
"test": "vitest",
"test:coverage": "vitest --coverage",
"test:ui": "vitest --ui",
"test:ci": "npm run test:coverage",
"lint": "pnpm run \"/^lint:.+/\"",
"lint:eslint": "eslint --quiet --fix --ext .ts .",
"lint:prettier": "prettier **/*.ts --log-level warn --write",
"husky:prepare": "husky install",
"husky:pre-commit": "lint-staged"
}
}