-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
149 lines (149 loc) · 4.6 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "@strumenta/tylasu",
"description": "AST building blocks for TypeScript/JavaScript, part of the *lasu family, with optional integrations with ANTLR4 and Ecore.",
"author": "Strumenta s.r.l.",
"publisher": "strumenta",
"version": "1.6.30",
"license": "Apache-2.0",
"keywords": [
"antlr",
"ast",
"starlasu",
"traversal",
"transformation"
],
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/strumenta/tylasu"
},
"files": [
"dist",
"src",
"package.json",
"tsconfig.base.json"
],
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./parsing": {
"import": "./dist/esm/parsing/index.js",
"require": "./dist/cjs/parsing/index.js",
"types": "./dist/types/parsing/index.d.ts"
},
"./mapping": {
"import": "./dist/esm/mapping/mapping.js",
"require": "./dist/cjs/mapping/mapping.js",
"types": "./dist/types/mapping/mapping.d.ts"
},
"./testing": {
"import": "./dist/esm/testing/testing.js",
"require": "./dist/cjs/testing/testing.js",
"types": "./dist/types/testing/testing.d.ts"
},
"./interop/ecore": {
"import": "./dist/esm/interop/ecore.js",
"require": "./dist/cjs/interop/ecore.js",
"types": "./dist/types/interop/ecore.d.ts"
},
"./interop/ecore-enabled-parser": {
"import": "./dist/esm/interop/ecore-enabled-parser.js",
"require": "./dist/cjs/interop/ecore-enabled-parser.js",
"types": "./dist/types/interop/ecore-enabled-parser.d.ts"
},
"./interop/lionweb": {
"import": "./dist/esm/interop/lionweb.js",
"require": "./dist/cjs/interop/lionweb.js",
"types": "./dist/types/interop/lionweb.d.ts"
},
"./interop/strumenta-playground": {
"import": "./dist/esm/interop/strumenta-playground.js",
"require": "./dist/cjs/interop/strumenta-playground.js",
"types": "./dist/types/interop/strumenta-playground.d.ts"
}
},
"typesVersions": {
"*": {
"parsing": ["dist/types/parsing/index.d.ts"],
"mapping": ["dist/types/mapping/mapping.d.ts"],
"testing": ["dist/types/testing/testing.d.ts"],
"interop/ecore": ["dist/types/interop/ecore.d.ts"],
"interop/lionweb": ["dist/types/interop/lionweb.d.ts"],
"interop/ecore-enabled-parser": ["dist/types/interop/ecore-enabled-parser.d.ts"],
"interop/strumenta-playground": ["dist/types/interop/strumenta-playground.d.ts"]
}
},
"browser": "dist/esm/index.js",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"bin": {
"generate-classes": "dist/cjs/cli.js"
},
"dependencies": {
"iter-ops": "^1.5.0",
"reflect-metadata": "^0.1.13"
},
"peerDependencies": {
"@lionweb/core": "^0.6.7",
"@lionweb/utilities": "^0.6.7",
"antlr4ng": "^3.0.4",
"cmd-ts": "^0.13.0",
"ecore": "^0.12.0"
},
"peerDependenciesMeta": {
"@lionweb/core": {
"optional": true
},
"antlr4ng": {
"optional": true
},
"cmd-ts": {
"optional": true
},
"ecore": {
"optional": true
}
},
"scripts": {
"clean": "rimraf dist && rimraf strumenta-ast-v*.tgz",
"build": "yarn run build:esm && yarn run build:cjs",
"build:esm": "tsc --module es6 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"extract-docs": "typedoc --out dist/docs src/index.ts src/parsing/index.ts src/mapping/mapping.ts src/testing/testing.ts src/interop/ecore.ts src/interop/ecore-enabled-parser.ts src/interop/lionweb.ts",
"lint": "eslint src tests",
"build-test-parser": "antlr4ng -Dlanguage=TypeScript -o tests/parser -Xexact-output-dir -visitor tests/grammar/SimpleLangLexer.g4 tests/grammar/SimpleLangParser.g4",
"test": "yarn run build-test-parser && node --experimental-vm-modules node_modules/jest/bin/jest.js",
"dist": "yarn run clean && yarn run lint && yarn run build && yarn run test && yarn run extract-docs && yarn pack",
"publish-lib": "yarn dist && yarn publish --access public && yarn --use-yarnrc .yarnrc-github-packages publish"
},
"devDependencies": {
"@lionweb/core": "^0.6.7",
"@lionweb/utilities": "^0.6.7",
"@tsconfig/recommended": "^1.0.3",
"@types/chai": "^4.3.11",
"@types/ecore": "^0.12.5",
"@types/jest": "^29.5.10",
"@types/node": "^18.19.2",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"antlr4ng": "^3.0.4",
"antlr4ng-cli": "^2.0.0",
"chai": "^4.3.10",
"cmd-ts": "^0.13.0",
"cross-env": "^7.0.3",
"ecore": "^0.12.0",
"eslint": "^8.55.0",
"i18next": "^23.11.5",
"jest": "^29.7.0",
"merge-options": "^2.0.0",
"rimraf": "^3.0.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typedoc": "^0.25.7",
"typescript": "^5.3.2"
}
}