From 016a1f9287d2e249f79351c2b4fce89ff9d80ba3 Mon Sep 17 00:00:00 2001 From: Shariar Shaikot Date: Wed, 23 Jun 2021 15:53:44 +0200 Subject: [PATCH] chore(): added ts support --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1a73e0f..7eb9ec2 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "scripts": { "test": "./node_modules/.bin/eslint ./index.js", "start": "webpack-dev-server", - "build": "babel ./index.js --stage 2 -d ./lib/ && webpack -p ./index.js ./umd/index.min.js", + "build": "babel ./index.js --stage 2 -d ./lib/ && webpack -p ./index.js ./umd/index.min.js && cp index.d.ts lib/index.d.ts", "minor": "npm version minor && npm publish", "major": "npm version major && npm publish", "patch": "npm version patch && npm publish"