Skip to content

Commit 2421601

Browse files
authored
chore: Add clean and build:clean scripts (#1659)
1 parent ed6ef56 commit 2421601

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"description": "Redpanda documentation",
55
"license": "ISC",
66
"scripts": {
7+
"clean": "rm -rf docs .cache",
78
"build": "antora --to-dir docs --fetch local-antora-playbook.yml",
9+
"build:clean": "npm run clean && npm run build",
810
"serve": "wds --node-resolve --open / --watch --root-dir docs --port 5002",
911
"start": "cross-env-shell LIVERELOAD=true npx gulp",
1012
"test-quickstart": "cd tests/setup-tests && npx doc-detective --input ../../modules/get-started/pages/quick-start.adoc -l debug",

0 commit comments

Comments
 (0)