-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 1.7 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
{
"name": "mathex2java-translator",
"version": "1.1.6",
"description": "Transpiler to convert amsmath LaTeX to Java code.",
"author": "Francisco Maria",
"license": "GPL-2.0-or-later",
"homepage": "https://github.com/francismaria/MaTheX2Java#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/francismaria/MaTheX2Java.git"
},
"bugs": {
"url": "https://github.com/francismaria/MaTheX2Java/issues"
},
"keywords": [
"latex",
"mathex2java",
"java",
"transpiler",
"compiler",
"antlr4",
"languages",
"cfg"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"directories": {
"test": "tests"
},
"scripts": {
"test": "jest",
"test-coverage": "jest --coverage",
"build": "webpack",
"build-grammars": "java -Xmx500M -cp \"/usr/local/lib/antlr-4.7.2-complete.jar:$CLASSPATH\" org.antlr.v4.Tool -Dlanguage=JavaScript -visitor ./src/grammars/Grammar.g4 -o ./src/grammars/static/AmsmathGrammar && java -Xmx500M -cp \"/usr/local/lib/antlr-4.7.2-complete.jar:$CLASSPATH\" org.antlr.v4.Tool -Dlanguage=JavaScript -visitor ./src/grammars/Annotation.g4 -o ./src/grammars/static/AnnotationGrammar",
"clean": "rm -rf node_modules/ package-lock.json",
"prepublishOnly": "npm run test && npm run build"
},
"dependencies": {
"antlr4": "^4.7.2"
},
"devDependencies": {
"jest": "^26.6.3",
"ts-loader": "^9.4.2",
"typescript": "^4.9.5",
"webpack": "^5.75.0",
"webpack-cli": "^4.5.0"
},
"jest": {
"moduleDirectories": [
"node_modules",
"src"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 90,
"lines": 90
}
}
}
}