Skip to content

Commit 8ec7953

Browse files
committed
Update package.json
1 parent 7a75bbc commit 8ec7953

File tree

1 file changed

+29
-14
lines changed

1 file changed

+29
-14
lines changed

doc/package.json

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@
55
"main": "server.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
8-
"start": "nodemon -e adoc --exec \"npm run build && npm run serve\"",
9-
"start:publish": "nodemon -e adoc --exec \"npm run build:publish && npm run serve\"",
8+
"prestart": "npm update",
9+
"start": "nodemon --exec \"npm run build\"",
1010
"serve": "node server.js",
11-
"build": "antora preview.yml --stacktrace --log-format=pretty",
12-
"build:publish": "antora publish.yml --stacktrace --log-format=pretty",
13-
"build-verify": "antora --stacktrace --fetch preview.yml --log-format=json --log-level=info --log-file ./build/log/log.json",
14-
"publish-verify": "antora --stacktrace --fetch publish.yml --log-format=json --log-file ./build/log/log.json"
11+
"clean": "rm -rf build",
12+
"build": "npm run build:preview",
13+
"postbuild": "node server.js",
14+
"build:preview": "antora preview.yml --stacktrace --log-format=pretty",
15+
"build:publish": "npm run clean && antora publish.yml --stacktrace --log-format=pretty",
16+
"verify:preview": "antora --stacktrace --fetch preview.yml --log-format=json --log-level=info --log-file ./build/log/log.json",
17+
"verify:publish": "antora --stacktrace --fetch publish.yml --log-format=json --log-level=info --log-file ./build/log/log.json"
1518
},
1619
"keywords": [
1720
"antora",
@@ -20,25 +23,37 @@
2023
"author": "Neo4j",
2124
"license": "ISC",
2225
"dependencies": {
23-
"@antora/cli": "^3.1.7",
24-
"@antora/site-generator-default": "^3.1.7",
25-
"@neo4j-antora/antora-add-notes": "^0.3.1",
26-
"@neo4j-antora/antora-modify-sitemaps": "^0.4.4",
26+
"@neo4j-antora/antora-add-notes": "^0.3.2",
2727
"@neo4j-antora/antora-page-roles": "^0.3.2",
28-
"@neo4j-antora/antora-table-footnotes": "^0.3.2",
29-
"@neo4j-documentation/macros": "^1.0.2",
28+
"@neo4j-antora/roles-labels": "^0.1.2",
29+
"@neo4j-antora/table-footnotes": "^1.0.0",
30+
"@neo4j-documentation/macros": "^1.0.4",
3031
"@neo4j-documentation/remote-include": "^1.0.0",
32+
"antora": "3.1.14",
3133
"js-yaml": "^4.1.0",
3234
"simple-git": "^3.5.0",
3335
"yargs": "^17.5.1"
3436
},
3537
"devDependencies": {
36-
"express": "^4.18.2",
37-
"nodemon": "^3.0.2"
38+
"express": "^5.1.0",
39+
"nodemon": "^3.1.0"
3840
},
3941
"overrides": {
4042
"@antora/site-generator-default": {
4143
"glob-parent": "6.0.2"
4244
}
45+
},
46+
"nodemonConfig": {
47+
"watch": [
48+
"**/modules/**",
49+
"**/antora.yml",
50+
"**/preview.yml",
51+
"**/publish.yml"
52+
],
53+
"ext": "yml,yaml,adoc,svg,png,jpg",
54+
"ignore": [
55+
"build",
56+
"node_modules"
57+
]
4358
}
4459
}

0 commit comments

Comments
 (0)