diff --git a/package.json b/package.json index 6a418e4a..139ed5b1 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "build:standalone": "cross-env NODE_ENV=production webpack --config webpack/standalone.babel.js", "preversion": "npm run lint && npm run test", "version": "auto-changelog -p && npm run build:dist && npm run build:standalone && git add CHANGELOG.md dist", - "prepublishOnly": "npm run build:lib && npm run build:lazy && npm run build:dist && node scripts/pre-publish.js", + "prepublishOnly": "npm run build:lib && npm run build:lazy && npm run build:dist && node scripts/pre-publish.js && cp index.d.ts lazy", "postpublish": "node scripts/post-publish.js && npm run clean" }, "repository": {