From 366d048efddc30ec8411f7624841a596aaa8798d Mon Sep 17 00:00:00 2001 From: milahu Date: Fri, 4 Jun 2021 17:40:40 +0200 Subject: [PATCH] package.json: add prepare script allow to install from source --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7bad94a..8c3af07 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "build": "npm run lint && npm run clean && npm run ts:cjs && npm run ts:amd && npm run ts:esm", "dev": "tsc -w & mocha -w ./test/*.js", "pretest": "tsc -m commonjs", - "release": "yarn build && np" + "release": "yarn build && np", + "prepare": "npm run build" }, "keywords": [ "parser",