Skip to content

Commit 255c834

Browse files
authored
Merge pull request #153 from antmendoza/added-missing-file
added missing files on compilation time
2 parents c8b7f76 + e2ac83f commit 255c834

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)