From 2ae07a7dbed7b31c36d8a2ad538d4e0bdb5abf6a Mon Sep 17 00:00:00 2001 From: Vasil Rangelov Date: Mon, 11 Nov 2019 19:21:42 +0200 Subject: [PATCH] Added explicit copy of package.json into dist/package.json. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1eb1a81..d9fa91b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "bin": "bin/typeorm-model-generator", "scripts": { "start": "ts-node ./src/index.ts", - "build": "npm run clean && tsc && ncp src/templates/ dist/src/templates/", + "build": "npm run clean && tsc && ncp src/templates/ dist/src/templates/ && ncp package.json dist/package.json", "prepare": "npm run build", "pretest": "tsc --noEmit", "test": "nyc --reporter=lcov ts-node ./node_modules/mocha/bin/_mocha test/**/*.test.ts -- --bail",