Skip to content

Commit 1a9c307

Browse files
committed
chore: updated build script
1 parent 57ec1b2 commit 1a9c307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"scripts": {
3232
"typescript": "tsc --noEmit",
3333
"lint": "eslint \"**/*.{js,ts,tsx}\"",
34-
"build": "bob build",
34+
"build": "bob build && yarn copy-dts && yarn delete-dts.js",
3535
"copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" lib/typescript",
3636
"delete-dts.js": "find ./lib/commonjs -name '*.d.js*' -delete && find ./lib/module -name '*.d.js*' -delete",
3737
"example": "yarn --cwd example",

0 commit comments

Comments
 (0)