From bae80eb58767a2367e46d8def9a17a839e6a3c7d Mon Sep 17 00:00:00 2001 From: Yannick Stachelscheid Date: Sun, 8 Dec 2019 17:40:09 +0100 Subject: [PATCH] add prepublish script --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1e88aea..ce92774 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,8 @@ "test:cov": "jest --config=jest.json --collectCoverage --detectOpenHandles --colors --forceExit", "test:ci": "npm run test:cov && codecov", "lint": "eslint ./src --ext .ts", - "lint:fix": "eslint ./src --ext .ts --fix" + "lint:fix": "eslint ./src --ext .ts --fix", + "prepublish": "npm run build" }, "bugs": { "url": "https://github.com/yss14/postgres-schema-builder/issues" @@ -58,4 +59,4 @@ "typescript": "^3.7.2", "uuid": "^3.3.3" } -} +} \ No newline at end of file