diff --git a/package.json b/package.json index 2b5f399a..b26334f0 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "deploy-docs": "gh-pages -d gh", "test:generate-output": "jest --json --outputFile=.jest-test-results.json || true", "see-npm-package": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz", - "build-package": "babel src --out-dir dist --ignore \"**/*.test.js\"" + "build-package": "babel src --out-dir dist --ignore \"**/*.test.js\" && cp src/index.d.ts dist/index.d.ts" }, "dependencies": { "@babel/runtime": "^7.5.5",