Skip to content

Commit 31f5de6

Browse files
committed
chore(scripts): ensure clean dist/ before building
1 parent a2fad4e commit 31f5de6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-keyboard-avoiding-scroll-view",
3-
"version": "0.1.0-beta.5",
3+
"version": "0.0.0-development",
44
"description": "React Native ScrollView extension that prevents inputs from being covered by the keyboard",
55
"keywords": [
66
"react native",
@@ -35,8 +35,9 @@
3535
"lint": "eslint --ext .js,.ts,.tsx --cache .",
3636
"test": "run-p --silent --print-label typecheck lint",
3737
"bootstrap": "yarn --cwd example && yarn",
38-
"build": "yarn tsc --pretty --declaration --outDir dist",
38+
"build": "rm -rf dist && yarn tsc --pretty --declaration --outDir dist",
3939
"example": "yarn --cwd example",
40+
"prepublish": "yarn build",
4041
"presemantic-release": "yarn build",
4142
"semantic-release": "semantic-release"
4243
},

0 commit comments

Comments
 (0)