-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
55 lines (55 loc) · 2.02 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": "asciidoc-parsing-lab",
"version": "1.0.0-alpha.0",
"description": "A lab for prototyping, developing, and testing the grammar for the AsciiDoc language specification.",
"license": "EPL-2.0",
"author": "Dan Allen",
"engines": {
"node": ">=19.0.0"
},
"scripts": {
"build": "npm run gen && npm run test",
"lint": "eslint \"bin/*\" \"{lib,test}/**/*.js\"",
"test": "_mocha",
"gen": "npm run gen:attrlist-parser && npm run gen:block-parser && npm run gen:inline-parser && npm run gen:preprocessor-parser",
"gen:attrlist-parser": "peggy -c grammar/asciidoc-attrlist-config.js -t '' > /dev/null",
"gen:block-parser": "peggy -c grammar/asciidoc-block-config.js -t '' > /dev/null",
"gen:inline-parser": "peggy -c grammar/asciidoc-inline-config.js -t '' > /dev/null",
"gen:preprocessor-parser": "peggy -c grammar/asciidoc-preprocessor-config.js -t '' > /dev/null"
},
"bin": {
"asciidoc-tck-adapter": "bin/asciidoc-tck-adapter",
"convert-asciidoc": "bin/convert-asciidoc"
},
"main": "lib/index.js",
"exports": {
".": "./lib/index.js",
"./package.json": "./package.json",
"./converter/html": "./lib/converter/html.js"
},
"imports": {
"#attrlist-parser": "./lib/asciidoc-attrlist-parser.js",
"#block-default-inline-parser": "./lib/asciidoc-block-parser/default-inline-parser.js",
"#block-helpers": "./lib/asciidoc-block-parser/helpers.js",
"#inline-helpers": "./lib/asciidoc-inline-parser/helpers.js",
"#inline-parser": "./lib/asciidoc-inline-parser.js",
"#inline-preprocessor": "./lib/asciidoc-inline-preprocessor.js",
"#preprocessor-helpers": "./lib/asciidoc-preprocessor-parser/helpers.js",
"#preprocessor-parser": "./lib/asciidoc-preprocessor-parser.js",
"#util": "./lib/util.js",
"#test-harness": "./test/harness/index.js"
},
"dependencies": {
"peggy": "~3.0",
"chai": "~4.4",
"eslint": "latest",
"eslint-config-standard": "latest",
"mocha": "latest"
},
"files": [
"lib"
],
"workspaces": [
"."
]
}