Skip to content

Commit 03a7aa8

Browse files
committed
Update example npm scripts
1 parent 49b3811 commit 03a7aa8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

example/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
"version": "0.0.1",
44
"private": true,
55
"scripts": {
6-
"clean-haste": "rm -rf node_modules/react-native-localize/node_modules",
7-
"start": "npm run clean-haste && node node_modules/react-native/local-cli/cli.js start",
6+
"clean:modules": "rm -rf node_modules/react-native-localize/node_modules",
7+
"clean:example": "rm -rf node_modules/react-native-localize/example",
8+
"start": "yarn clean:modules && yarn clean:example && node node_modules/react-native/local-cli/cli.js start",
89
"test": "jest"
910
},
1011
"dependencies": {

0 commit comments

Comments
 (0)