|
35 | 35 | "types": "./dist/types/parsing/index.d.ts"
|
36 | 36 | },
|
37 | 37 | "./mapping": {
|
38 |
| - "import": "./dist/esm/mapping.js", |
39 |
| - "require": "./dist/cjs/mapping.js", |
40 |
| - "types": "./dist/types/mapping.d.ts" |
| 38 | + "import": "./dist/esm/mapping/mapping.js", |
| 39 | + "require": "./dist/cjs/mapping/mapping.js", |
| 40 | + "types": "./dist/types/mapping/mapping.d.ts" |
| 41 | + }, |
| 42 | + "./testing": { |
| 43 | + "import": "./dist/esm/testing/testing.js", |
| 44 | + "require": "./dist/cjs/testing/testing.js", |
| 45 | + "types": "./dist/types/testing/testing.d.ts" |
41 | 46 | },
|
42 | 47 | "./interop/ecore": {
|
43 | 48 | "import": "./dist/esm/interop/ecore.js",
|
|
63 | 68 | "typesVersions": {
|
64 | 69 | "*": {
|
65 | 70 | "parsing": ["dist/types/parsing/index.d.ts"],
|
66 |
| - "mapping": ["dist/types/mapping.d.ts"], |
| 71 | + "mapping": ["dist/types/mapping/mapping.d.ts"], |
| 72 | + "testing": ["dist/types/testing/testing.d.ts"], |
67 | 73 | "interop/ecore": ["dist/types/interop/ecore.d.ts"],
|
68 | 74 | "interop/lionweb": ["dist/types/interop/lionweb.d.ts"],
|
69 | 75 | "interop/ecore-enabled-parser": ["dist/types/interop/ecore-enabled-parser.d.ts"],
|
|
106 | 112 | "build": "yarn run build:esm && yarn run build:cjs",
|
107 | 113 | "build:esm": "tsc --module es6 --outDir dist/esm",
|
108 | 114 | "build:cjs": "tsc --module commonjs --outDir dist/cjs",
|
109 |
| - "extract-docs": "typedoc --out dist/docs src/index.ts src/parsing/index.ts src/mapping.ts src/interop/ecore.ts src/interop/ecore-enabled-parser.ts src/interop/lionweb.ts", |
| 115 | + "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", |
110 | 116 | "lint": "eslint src tests",
|
111 | 117 | "build-test-parser": "antlr4ng -Dlanguage=TypeScript -o tests/parser -Xexact-output-dir -visitor tests/grammar/SimpleLangLexer.g4 tests/grammar/SimpleLangParser.g4",
|
112 | 118 | "test": "yarn run build-test-parser && node --experimental-vm-modules node_modules/jest/bin/jest.js",
|
|
0 commit comments