From edbc600b841d91c60af0b7ba9580935e85801883 Mon Sep 17 00:00:00 2001 From: secretshardul <49580849+secretshardul@users.noreply.github.com> Date: Sat, 12 Jun 2021 00:05:43 +0530 Subject: [PATCH] Enable module installs from Github with prepare script (#41) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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": [