Skip to content

Commit

Permalink
chore: added delete dts files script
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom committed Sep 21, 2021
1 parent 8a09ed3 commit 181eb40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
"scripts": {
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"build": "bob build && yarn copy-dts",
"build": "bob build && yarn copy-dts && yarn delete-dts.js",
"copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" lib/typescript",
"delete-dts.js": "find ./lib/commonjs -name '*.d.js*' -delete && find ./lib/module -name '*.d.js*' -delete",
"release": "release-it",
"example": "yarn --cwd example",
"bootstrap": "yarn install && yarn example"
Expand Down

0 comments on commit 181eb40

Please sign in to comment.