forked from tunnelvisionlabs/antlr4ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 4.94 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "antlr4ts-root",
"version": "0.5.0-dev",
"description": "Root project for ANTLR 4 runtime for Typescript",
"private": true,
"main": "index.js",
"scripts": {
"prepare": "npm run buildtool && npm link antlr4ts-cli && npm run antlr4ts && npm run tsc && npm link target/src && npm run buildrts",
"unlink": "npm unlink antlr4ts && npm unlink target/src && npm unlink antlr4ts-cli && npm run unlinkruntime && npm run unlinktool",
"unlinkruntime": "cd target/src && npm unlink",
"buildtool": "cd tool && npm link",
"unlinktool": "cd tool && npm unlink",
"clean": "npm run unlink && git clean -idx",
"antlr4ts": "npm run antlr4ts-runtime-xpath && npm run antlr4ts-test-runtime && npm run antlr4ts-test-labels && npm run antlr4ts-test-pattern && npm run antlr4ts-test-rewriter && npm run antlr4ts-test-xpath && npm run antlr4ts-benchmark",
"antlr4ts-runtime-xpath": "cd src/tree/xpath && antlr4ts XPathLexer.g4 -DbaseImportPath=../..",
"antlr4ts-test-runtime": "cd test/runtime && antlr4ts TestGrammar.g4 -DbaseImportPath=../../../../src -o gen/typescript_only",
"antlr4ts-test-labels": "cd test/runtime/TestReferenceToListLabels && antlr4ts T.g4 -no-listener -DbaseImportPath=antlr4ts -o gen",
"antlr4ts-test-pattern": "cd test/tool && antlr4ts ParseTreeMatcherX1.g4 ParseTreeMatcherX2.g4 ParseTreeMatcherX3.g4 ParseTreeMatcherX4.g4 ParseTreeMatcherX5.g4 ParseTreeMatcherX6.g4 ParseTreeMatcherX7.g4 ParseTreeMatcherX8.g4 -no-listener -DbaseImportPath=../../../../src -o gen/matcher",
"antlr4ts-test-rewriter": "cd test/tool && antlr4ts RewriterLexer1.g4 RewriterLexer2.g4 RewriterLexer3.g4 -DbaseImportPath=../../../../src -o gen/rewriter",
"antlr4ts-test-xpath": "cd test/tool && antlr4ts TestXPath.g4 -no-listener -DbaseImportPath=../../../../src -o gen/xpath",
"antlr4ts-benchmark": "npm run antlr4ts-benchmark-graphemes && npm run antlr4ts-benchmark-std && npm run antlr4ts-benchmark-std-atn && npm run antlr4ts-benchmark-lr && npm run antlr4ts-benchmark-lr-atn",
"antlr4ts-benchmark-graphemes": "cd benchmark && antlr4ts -visitor Graphemes.g4 -DbaseImportPath=../../src -o gen",
"antlr4ts-benchmark-std": "cd benchmark && antlr4ts -visitor Java.g4 -DbaseImportPath=../../../src -o gen/std",
"antlr4ts-benchmark-std-atn": "cd benchmark && antlr4ts -visitor -Xforce-atn Java.g4 -DbaseImportPath=../../../src -o gen/std-atn",
"antlr4ts-benchmark-lr": "cd benchmark && antlr4ts -visitor JavaLR.g4 -DbaseImportPath=../../../src -o gen/lr",
"antlr4ts-benchmark-lr-atn": "cd benchmark && antlr4ts -visitor -Xforce-atn JavaLR.g4 -DbaseImportPath=../../../src -o gen/lr-atn",
"tslint": "npm run tslint-runtime && npm run tslint-tests",
"tslint-runtime": "tslint -p ./tsconfig.json",
"tslint-tests": "tslint -p ./test/runtime/tsconfig.json",
"tsc": "tsc",
"tsc-watch": "tsc -w -p .",
"buildrts": "cd test/runtime && tsc",
"test": "mocha",
"cover": "nyc --reporter=none mocha --timeout=10000",
"postcover": "nyc report --reporter=html",
"dev-test-watch": "mocha-typescript-watch",
"typedoc": "typedoc --ignoreCompilerErrors --out doc src --name antlr4ts",
"prepack": "npm run pack-tool && npm run pack-runtime",
"pack-tool": "npm pack ./tool",
"copy-runtime-extras": "cpx README.md target/src && cpx LICENSE target/src",
"pack-runtime": "npm run copy-runtime-extras && npm pack ./target/src",
"prebenchmark": "npm run antlr4ts-benchmark && tsc",
"benchmark": "npm run benchmark-core",
"benchmark-core": "node target/benchmark/TestPerformance.js",
"prebenchmark-lexer": "npm run antlr4ts-benchmark-graphemes && tsc",
"benchmark-lexer": "npm run benchmark-lexer-core",
"benchmark-lexer-core": "node target/benchmark/TimeLexerSpeed.js",
"preprofile": "npm run antlr4ts-benchmark && tsc",
"profile": "npm run profile-core",
"profile-core": "node --prof target/benchmark/TestPerformance.js",
"preprofile-lexer": "npm run antlr4ts-benchmark-graphemes && tsc",
"profile-lexer": "npm run profile-lexer-core",
"profile-lexer-core": "node --prof target/benchmark/TimeLexerSpeed.js"
},
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/tunnelvisionlabs/antlr4ts.git"
},
"keywords": [
"ANTLR4",
"typescript"
],
"author": "Terence Parr, Sam Harwell, and Burt Harris",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/tunnelvisionlabs/antlr4ts/issues"
},
"homepage": "https://github.com/tunnelvisionlabs/antlr4ts#readme",
"devDependencies": {
"@deboxsoft/cpx": "^1.5.0",
"@types/mocha": "^5.2.0",
"@types/node": "^10.12.10",
"@types/source-map-support": "^0.4.0",
"@types/std-mocks": "^1.0.0",
"codecov": "^3.1.0",
"mocha": "^5.2.0",
"mocha-typescript": "^1.1.14",
"nyc": "^14.1.1",
"source-map-support": "^0.5.6",
"std-mocks": "^1.0.1",
"tslint": "^5.11.0",
"typedoc": "^0.15.2",
"typescript": "^2.8.3"
},
"dependencies": {}
}