diff --git a/package.json b/package.json index 2bf8cd3..3855457 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "test:unit": "mocha --compilers ts:ts-node/register \"src/**/*.spec.ts\"", "prepublishOnly": "npm run build && npm run docs:publish", "lint": "tslint -c tslint.json --project tsconfig.json \"src/**/*.ts\" \"test/**/*.ts\"", - "docs:build": "typedoc --exclude \"{*.spec.ts,**/node_modules/**}\" --out docs/ --mode file --excludeNotExported --excludePrivate --excludeExternals --tsconfig tsconfig.json ./src/index.ts && node doc-postprocess.js", + "docs:build": "rimraf docs && typedoc --exclude \"{*.spec.ts,**/node_modules/**}\" --out docs/ --mode file --excludeNotExported --excludePrivate --excludeExternals --tsconfig tsconfig.json ./src/index.ts && node doc-postprocess.js", "docs:publish": "npm run docs:build && gh-pages -d docs -s **" }, "repository": {