generated from wilgnne/antlr4-js-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.21 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
{
"name": "exp-lang",
"version": "1.0.0",
"main": "src/index.js",
"license": "MIT",
"type": "module",
"author": {
"email": "wilgnne.kba@gmail.com",
"name": "Wilgnne Khawan",
"url": "https://github.com/wilgnne"
},
"contributors": [
{
"email": "vitorgomes2007@hotmail.com",
"name": "Vitor Gomes",
"url": "https://github.com/vitoorgomes"
}
],
"scripts": {
"install": "npm run ant",
"preant": "find src/Runtime/ -name '*.java' -print | xargs javac -d build/",
"ant": "java -jar bin/antlr-4.9.1-complete.jar -Dlanguage=JavaScript -no-listener -o tmp src/grammars/Exp.g4 && mkdir -p build",
"postant": "mv tmp/src/grammars/* src/antlr && rm -r tmp",
"prestart": "npm run ant",
"start": "node . > build/Test.j",
"poststart": "npm run jasmin",
"jasmin": "java -jar bin/jasmin.jar build/Test.j -d build",
"postjasmin": "java -cp build/ Test",
"pretest": "npm run ant",
"test": "jest"
},
"dependencies": {
"antlr4": "^4.9.1"
},
"devDependencies": {
"@babel/core": "^7.13.14",
"@babel/plugin-transform-modules-commonjs": "^7.13.8",
"@babel/preset-env": "^7.13.12",
"babel-jest": "^26.6.3",
"jest": "^26.6.3"
}
}