We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c8b7f76 + e2ac83f commit 255c834Copy full SHA for 255c834
package.json
@@ -25,7 +25,7 @@
25
"pretest": "npx rimraf out-tsc",
26
"test": "npx tsc --project ./tests/tsconfig.json && npx jest",
27
"prebuild": "npx rimraf dist",
28
- "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",
29
"postbuild": "npx shx cp ./package.json ./README.md ./LICENSE ./dist/",
30
"verify-publish-directory": "node -e 'if (!process.cwd().endsWith(\"dist\")) { console.error(\"Packaging/Publishing should be done from ./dist/\"); process.exitCode = 1; } process.exit();'",
31
"prepack": "npm run verify-publish-directory",
0 commit comments