From e2ac83fa4cf56f7b843efefda80e491fbda1a11b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Mendoza=20P=C3=A9rez?= Date: Thu, 9 Dec 2021 00:40:20 +0100 Subject: [PATCH] added-missing-file-to-dist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Antonio Mendoza PĂ©rez --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 97b501c..ea3b1a9 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "pretest": "npx rimraf out-tsc", "test": "npx tsc --project ./tests/tsconfig.json && npx jest", "prebuild": "npx rimraf dist", - "build": "npx rollup -c rollup.config.ts && npx shx mv ./dist/src/lib ./dist/lib && npx rimraf ./dist/src", + "build": "npx rollup -c rollup.config.ts && npx shx mv ./dist/src/lib ./dist/lib && npx shx mv ./dist/src/*d.ts.map ./dist/src/*d.ts ./dist && npx rimraf ./dist/src", "postbuild": "npx shx cp ./package.json ./README.md ./LICENSE ./dist/", "verify-publish-directory": "node -e 'if (!process.cwd().endsWith(\"dist\")) { console.error(\"Packaging/Publishing should be done from ./dist/\"); process.exitCode = 1; } process.exit();'", "prepack": "npm run verify-publish-directory",