From 2905f8dc8a718263f59d8d7e5485ee049eeec4a5 Mon Sep 17 00:00:00 2001 From: David Emanuel Luksic Date: Tue, 31 Mar 2020 13:40:42 +0200 Subject: [PATCH] Add build to prepare --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0bd0e70..8bbc10d 100644 --- a/package.json +++ b/package.json @@ -78,6 +78,7 @@ ] }, "scripts": { + "prepare": "npm run build", "build": "npm run build-lib && npm run build-es && npm run build-node8", "build-lib": "rimraf lib && BABEL_ENV=lib babel src --ignore __tests__,__mocks__ -d lib && COPY_TO_FOLDER=lib npm run build-flow && COPY_TO_FOLDER=lib npm run build-dts ", "build-es": "rimraf es && BABEL_ENV=es babel src --ignore __tests__,__mocks__ -d es && COPY_TO_FOLDER=es npm run build-flow && COPY_TO_FOLDER=es npm run build-dts", @@ -94,4 +95,4 @@ "test": "npm run coverage && npm run lint && npm run flow", "semantic-release": "semantic-release" } -} +} \ No newline at end of file