chore(): added ts support

This commit is contained in:
Shariar Shaikot
2021-06-23 15:53:44 +02:00
parent f204366b3a
commit 016a1f9287
+1 -1
View File
@@ -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"