Skip to content

Commit e2ac83f

Browse files
committed
added-missing-file-to-dist
Signed-off-by: Antonio Mendoza Pérez <[email protected]>
1 parent c8b7f76 commit e2ac83f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"pretest": "npx rimraf out-tsc",
2626
"test": "npx tsc --project ./tests/tsconfig.json && npx jest",
2727
"prebuild": "npx rimraf dist",
28-
"build": "npx rollup -c rollup.config.ts && npx shx mv ./dist/src/lib ./dist/lib && npx rimraf ./dist/src",
28+
"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",
2929
"postbuild": "npx shx cp ./package.json ./README.md ./LICENSE ./dist/",
3030
"verify-publish-directory": "node -e 'if (!process.cwd().endsWith(\"dist\")) { console.error(\"Packaging/Publishing should be done from ./dist/\"); process.exitCode = 1; } process.exit();'",
3131
"prepack": "npm run verify-publish-directory",

0 commit comments

Comments
 (0)