-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.23 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
{
"name": "interpreter",
"version": "1.0.0",
"main": "index.ts",
"repository": "[email protected]:slydor/interpreter.git",
"author": "slydor",
"license": "MIT",
"private": true,
"dependencies": {
"moo": "^0.5.0",
"nearley": "^2.16.0"
},
"devDependencies": {
"@types/jest": "^24.0.11",
"@types/node": "^12.6.8",
"jest": "^24.5.0",
"ts-jest": "^24.0.0",
"ts-node": "^8.3.0",
"typescript": "^3.3.3333"
},
"jest": {
"globals": {
"ts-jest": {}
},
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"\\.(ts|tsx)$": "ts-jest"
},
"testRegex": ".*\\.test\\.(ts|tsx|js)$"
},
"scripts": {
"benchmark": "tsc && node ./dist/benchmark/parseBoolean.js",
"compile-demo": "nearleyc ./grammar/demo.ne -o ./grammar/demo.js",
"compile": "nearleyc ./grammar/rule.ne -o ./grammar/rule.ts",
"compile2": "nearleyc ./grammar/brackets.ne -o ./grammar/brackets.js",
"compile3": "nearleyc ./grammar/boolean.ne -o ./grammar/boolean.js",
"repl:boolean": "ts-node ./tools/booleanREPL.ts"
}
}