Skip to content

Commit 96ffac0

Browse files
Add run-docs command to Makefile and package.json
1 parent 0b30fbd commit 96ffac0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ dev: ## Run development server
1919
exec: ## Execute a command in the development container
2020
@docker compose --project-directory docker run -it --rm $(DEV_CONTAINER_NAME) bash
2121

22+
run-docs: ## Execute a command in the development container
23+
@docker compose --project-directory docker run -p 8080:8080 -it --rm $(DEV_CONTAINER_NAME) yarn generate:docServer
24+
2225
install: ## Execute a command in the development container
2326
@docker compose --project-directory docker run -it --rm $(DEV_CONTAINER_NAME) yarn install
2427

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
2121
"test:e2e": "jest --config ./test/jest-e2e.json",
2222
"schematics:inherit": "nest generate -c @kradihsoy/lt-schematics inherit",
23-
"generate:doc": "npx @compodoc/compodoc -p tsconfig.json -d docs --includes ./docs --includesName 'Documentation complémentaire' -n 'Sesame Orchestrator'"
23+
"generate:doc": "npx @compodoc/compodoc -p tsconfig.json -d docs --includes ./docs --includesName 'Documentation complémentaire' -n 'Sesame Orchestrator'",
24+
"generate:docServer": "npx @compodoc/compodoc -s -p tsconfig.json -d docs --includes ./docs --includesName 'Documentation complémentaire' -n 'Sesame Orchestrator' -s"
2425
},
2526
"dependencies": {
2627
"@kradihsoy/lt-schematics": "^1.0.13",

0 commit comments

Comments
 (0)