Added explicit copy of package.json into dist/package.json.

This commit is contained in:
Vasil Rangelov 2019-11-11 19:21:42 +02:00
parent 35987a98f9
commit 2ae07a7dbe

View File

@ -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",