From c0e0b7550b52dde19747b7eb4561d26488a8eef5 Mon Sep 17 00:00:00 2001 From: Roy Pfaffman Date: Wed, 4 May 2022 15:10:02 -0700 Subject: [PATCH] Automatically run build after installing --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ca4d0b4..17778e4 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "build:lib": "babel src --out-dir lib", "build:watch": "npm run build:lib -- --watch", "build:interactive-docs": "browserify -e examples/interactive-docs/example.js -o examples/interactive-docs/example.bundle.js", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "postinstall": "npm run build:lib" }, "repository": { "type": "git",