This is an automated email from the ASF dual-hosted git repository.

gerben pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit 147cb6b4a62b3271ec3bf762a5b6407d2a9a4d4a
Author: Gerben <[email protected]>
AuthorDate: Mon Apr 5 20:01:51 2021 +0200

    Add build:docs command, remove /docs in clean command
---
 package.json | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package.json b/package.json
index 1e45f30..978418a 100644
--- a/package.json
+++ b/package.json
@@ -15,13 +15,14 @@
     ]
   },
   "scripts": {
-    "build": "concurrently yarn:build:lib:* yarn:build:misc",
+    "build": "concurrently yarn:build:lib:* yarn:build:misc yarn:build:docs",
+    "build:docs": "typedoc",
     "build:lib": "lerna exec --parallel -- babel -d lib -s inline -x .ts 
--root-mode upward src",
     "build:lib:cjs": "cross-env BABEL_ENV=cjs yarn build:lib",
     "build:lib:esm": "cross-env BABEL_ENV=esm yarn build:lib 
--out-file-extension .mjs",
     "build:lib:types": "tsc --build",
     "build:misc": "lerna exec --parallel -- cp ../../DISCLAIMER-WIP 
../../LICENSE ../../NOTICE ../../README.md .",
-    "clean": "tsc --build --clean && lerna exec -- rimraf DISCLAIMER-WIP 
LICENSE NOTICE README.md lib",
+    "clean": "tsc --build --clean && lerna exec -- rimraf DISCLAIMER-WIP 
LICENSE NOTICE README.md lib && rimraf docs",
     "lint": "tsc --build && eslint .",
     "prepare": "yarn run build:lib:types && lerna run prepare",
     "prepublishOnly": "yarn run build",

Reply via email to