Skip to content

Commit

Permalink
chore: delete debug view from builds
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom committed Aug 22, 2021
1 parent 445a964 commit 7ead04e
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 @@ -29,8 +29,9 @@
"scripts": {
"typescript": "tsc --skipLibCheck --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"build": "bob build && yarn copy-dts && yarn delete-dts.js",
"build": "bob build && yarn copy-dts && yarn delete-dts.js && yarn delete-debug-view",
"copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" lib/typescript",
"delete-debug-view": "rm -r ./lib/commonjs/components/bottomSheetDebugView && rm -r ./lib/module/components/bottomSheetDebugView && rm -r ./lib/typescript/components/bottomSheetDebugView",
"delete-dts.js": "find ./lib/commonjs -name '*.d.js*' -delete && find ./lib/module -name '*.d.js*' -delete",
"release": "release-it",
"example": "yarn --cwd example",
Expand Down

0 comments on commit 7ead04e

Please sign in to comment.