From 0f60bf0977ca7df55d02c54d1e0fa164732437a9 Mon Sep 17 00:00:00 2001 From: dannyrb Date: Sat, 16 Mar 2019 20:54:25 -0400 Subject: [PATCH] Separate commands for dev and publishing latest api docs --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2606d6e17..fd956a59f 100755 --- a/package.json +++ b/package.json @@ -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",