diff --git a/package.json b/package.json index b82c780..9578632 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,8 @@ "lint": "prettier src/** example/src/** --check", "lint:fix": "prettier src/** example/src/** -w", "build": "rm -rf dist && tsc --build tsconfig.json", - "docs": "typedoc --excludePrivate --out ./docs src/index.tsx --includeVersion --readme none" + "docs": "typedoc --excludePrivate --out ./docs src/index.tsx --includeVersion --readme none", + "prepare": "yarn build" }, "eslintConfig": { "extends": [