|  | 
| 5 | 5 |   "main": "server.js", | 
| 6 | 6 |   "scripts": { | 
| 7 | 7 |     "test": "echo \"Error: no test specified\" && exit 1", | 
| 8 |  | -    "start": "nodemon -e adoc --exec \"npm run build && npm run serve\"", | 
|  | 8 | +    "prestart": "npm update", | 
|  | 9 | +    "start": "nodemon --exec \"npm run build\"", | 
| 9 | 10 |     "serve": "node server.js", | 
| 10 |  | -    "build": "antora --stacktrace preview.yml", | 
| 11 |  | -    "build-verify": "antora --stacktrace --fetch preview.yml --log-format=json --log-level=info --log-file ./build/log/log.json", | 
| 12 |  | -    "publish-verify": "antora --stacktrace --fetch publish.yml --log-format=json --log-level=info --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" | 
| 13 | 18 |   }, | 
| 14 | 19 |   "repository": { | 
| 15 | 20 |     "type": "git", | 
|  | 
| 23 | 28 |   }, | 
| 24 | 29 |   "homepage": "https://github.com/neo4j/docs-status-codes#readme", | 
| 25 | 30 |   "dependencies": { | 
| 26 |  | -    "antora": "^3.1.10", | 
| 27 |  | -    "@antora/site-generator-default": "^3.1.10", | 
| 28 |  | -    "@neo4j-antora/antora-table-footnotes": "^0.3.3", | 
|  | 31 | +    "antora": "^3.1.12", | 
|  | 32 | +    "@neo4j-antora/aliases-redirects": "^0.2.3", | 
|  | 33 | +    "@neo4j-antora/mark-terms": "1.1.0", | 
|  | 34 | +    "@neo4j-antora/roles-labels": "^0.1.1", | 
|  | 35 | +    "@neo4j-antora/selector-labels": "^0.1.1", | 
|  | 36 | +    "@neo4j-antora/table-footnotes": "^1.0.0", | 
|  | 37 | +    "@neo4j-antora/xref-hash-validator": "^0.1.3", | 
| 29 | 38 |     "@neo4j-documentation/macros": "^1.0.4", | 
| 30 | 39 |     "@neo4j-documentation/remote-include": "^1.0.0" | 
| 31 | 40 |   }, | 
| 32 | 41 |   "devDependencies": { | 
| 33 |  | -    "express": "^5.0.1", | 
|  | 42 | +    "express": "^5.1.0", | 
| 34 | 43 |     "nodemon": "^3.1.0" | 
|  | 44 | +  }, | 
|  | 45 | +  "nodemonConfig": { | 
|  | 46 | +    "watch": [ | 
|  | 47 | +      "**/modules/**", | 
|  | 48 | +      "**/antora.yml", | 
|  | 49 | +      "**/preview.yml", | 
|  | 50 | +      "**/publish.yml" | 
|  | 51 | +    ], | 
|  | 52 | +    "ext": "yml,yaml,adoc,svg,png,jpg", | 
|  | 53 | +    "ignore": [ | 
|  | 54 | +      "build", | 
|  | 55 | +      "node_modules" | 
|  | 56 | +    ] | 
| 35 | 57 |   } | 
| 36 | 58 | } | 
0 commit comments