-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
55 lines (55 loc) · 1.62 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
{
"name": "@dotjem/lucene-query-parsers",
"version": "0.1.0",
"sha": "",
"description": "",
"exports": {
".": {
"import": {
"types": "./dist/esm/types/index.d.ts",
"default": "./dist/esm/index.mjs"
},
"require": {
"types": "./lib/cjs/types/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
},
"main": "./dist/cjs/index.js",
"types": "./dist/cjs/types/index.d.ts",
"files": [
"dist/**/*"
],
"scripts": {
"clean": "rm -rf ./dist",
"gen-standard": "java -jar tools/antlr-4.12.0-complete.jar -Dlanguage=JavaScript src/grammar/standard/Standard.g4",
"gen-ordering": "java -jar tools/antlr-4.12.0-complete.jar -Dlanguage=JavaScript src/grammar/ordering/Ordering.g4",
"gen": "npm run gen-standard && npm run gen-ordering",
"tsc": "tsc",
"build": "npm run clean && npm run gen && npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p ./tsconfig.esm.json && mv dist/esm/index.js dist/esm/index.mjs",
"build:cjs": "tsc -p ./tsconfig.cjs.json",
"test": "jest"
},
"type": "module",
"keywords": [],
"author": "",
"license": "MIT",
"dependencies": {
"antlr4": "^4.12.0"
},
"devDependencies": {
"@babel/preset-env": "^7.21.4",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"babel-jest": "^29.5.0",
"babel-plugin-transform-import-meta": "^2.2.0",
"jest": "^29.5.0",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"webpack": "^5.79.0",
"webpack-cli": "^5.0.1"
}
}