Skip to content

Commit 9264fd0

Browse files
committed
Update packages and scripts
1 parent 3e14389 commit 9264fd0

File tree

1 file changed

+29
-17
lines changed

1 file changed

+29
-17
lines changed

package.json

Lines changed: 29 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
{
2-
"name": "docs-template",
2+
"name": "docs-operations",
33
"version": "1.0.0",
4-
"description": "Template repo for Neo4j documentation projects",
4+
"description": "Neo4j Operations documentation",
55
"main": "server.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
8-
"start": "npm update && nodemon -e adoc --exec \"npm run build && npm run serve\"",
8+
"prestart": "npm update",
9+
"start": "nodemon --exec \"npm run build\"",
910
"serve": "node server.js",
10-
"adoc-gen": "node scripts/adoc-gen.js",
11-
"build": "antora preview.yml --stacktrace --log-format=pretty",
12-
"build-verify": "antora --stacktrace --fetch preview.yml --log-format=json --log-level=info --log-file ./build/log/log.json",
13-
"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"
1418
},
1519
"keywords": [
1620
"antora",
@@ -19,23 +23,31 @@
1923
"author": "Neo4j",
2024
"license": "ISC",
2125
"dependencies": {
22-
"@antora/cli": "^3.1.7",
23-
"@antora/site-generator-default": "^3.1.7",
24-
"@neo4j-antora/antora-add-notes": "^0.3.1",
26+
"antora": "^3.1.10",
27+
"@neo4j-antora/antora-add-notes": "^0.3.2",
2528
"@neo4j-antora/antora-page-roles": "^0.3.2",
26-
"@neo4j-antora/antora-table-footnotes": "^0.3.2",
2729
"@neo4j-antora/antora-unlisted-pages": "^0.1.0",
28-
"@neo4j-antora/roles-labels": "^0.1.0-beta.2",
29-
"@neo4j-documentation/macros": "^1.0.2",
30+
"@neo4j-antora/roles-labels": "^0.1.1",
31+
"@neo4j-antora/table-footnotes": "^1.0.0",
32+
"@neo4j-antora/xref-hash-validator": "^0.1.3",
33+
"@neo4j-documentation/macros": "^1.0.4",
3034
"@neo4j-documentation/remote-include": "^1.0.0"
3135
},
3236
"devDependencies": {
3337
"express": "^5.1.0",
3438
"nodemon": "^3.1.0"
3539
},
36-
"overrides": {
37-
"@antora/site-generator-default": {
38-
"glob-parent": "6.0.2"
39-
}
40+
"nodemonConfig": {
41+
"watch": [
42+
"**/modules/**",
43+
"**/antora.yml",
44+
"**/preview.yml",
45+
"**/publish.yml"
46+
],
47+
"ext": "yml,yaml,adoc,svg,png,jpg",
48+
"ignore": [
49+
"build",
50+
"node_modules"
51+
]
4052
}
4153
}

0 commit comments

Comments
 (0)