|
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\"", |
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\"", |
10 | 10 | "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" |
15 | 18 | }, |
16 | 19 | "keywords": [ |
17 | 20 | "antora", |
|
20 | 23 | "author": "Neo4j", |
21 | 24 | "license": "ISC", |
22 | 25 | "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", |
27 | 27 | "@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", |
30 | 31 | "@neo4j-documentation/remote-include": "^1.0.0", |
| 32 | + "antora": "3.1.14", |
31 | 33 | "js-yaml": "^4.1.0", |
32 | 34 | "simple-git": "^3.5.0", |
33 | 35 | "yargs": "^17.5.1" |
34 | 36 | }, |
35 | 37 | "devDependencies": { |
36 | | - "express": "^4.18.2", |
37 | | - "nodemon": "^3.0.2" |
| 38 | + "express": "^5.1.0", |
| 39 | + "nodemon": "^3.1.0" |
38 | 40 | }, |
39 | 41 | "overrides": { |
40 | 42 | "@antora/site-generator-default": { |
41 | 43 | "glob-parent": "6.0.2" |
42 | 44 | } |
| 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 | + ] |
43 | 58 | } |
44 | 59 | } |
0 commit comments