Skip to content

Commit

Permalink
Separate commands for dev and publishing latest api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyrb committed Mar 17, 2019
1 parent ef7b2fb commit 0f60bf0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
"clean:dist": "shx rm -rf ./dist",
"clean:coverage": "shx rm -rf ./coverage",
"dev": "npm run build:dev -- --watch --debug",
"docs:api": "docma --config ./docma.json && docma serve ./docs/latest/api",
"docs:api:watch": "nodemon --watch src/**/* -x \"npm run docs:api\"",
"docs:api": "docma --config ./docma.json",
"docs:api:dev": "docma --config ./docma-dev.json && docma serve ./docs/latest/api",
"docs:api:watch": "nodemon --watch src/**/* -x \"npm run docs:api:dev\"",
"docs:book": "npm run docs:api && cd ./docs/latest && gitbook install && gitbook serve",
"docs:deploy": "bash ./.circleci/update-docs.sh",
"lint": "eslint -c .eslintrc.js --fix src",
Expand Down

0 comments on commit 0f60bf0

Please sign in to comment.