From e77afccbe349167e91b112cf7e9d37c856a2f227 Mon Sep 17 00:00:00 2001 From: codypearce Date: Sun, 24 Nov 2019 01:47:07 -0800 Subject: [PATCH] copy index.d.ts --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",