From 806cc27a6f5a4daafd448cdc492e12d2784587c3 Mon Sep 17 00:00:00 2001 From: Juanra Dikal Date: Wed, 24 Mar 2021 17:51:39 +0100 Subject: [PATCH] generate docs after changing version with npm --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b249d11..b9940eb 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,8 @@ "docs": "node build/build.docs.js", "lint": "ts-standard --fix", "mocha": "node ./build/bin/mocha-ts.js --require build/testing/mocha/mocha-init.js ", - "preversion": "npm run build", + "preversion": "run-s lint build:js test:browser coverage", + "postversion": "npm run docs", "test": "run-s test:browser test:node", "test:browser": "node build/testing/browser/index.js", "test:node": "npm run mocha -- '{src/**/*.spec.ts,test/**/*.ts}'",