Skip to content

Commit 26650df

Browse files
committed
chore: simplify postinstall script in package.json
1 parent 768341a commit 26650df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"README.md"
2929
],
3030
"scripts": {
31-
"postinstall": "rm -rf node_modules/react node_modules/react-native 2>/dev/null || true; tsc || exit 0;",
31+
"postinstall": "tsc || exit 0;",
3232
"typecheck": "tsc --noEmit",
3333
"clean": "rm -rf android/build node_modules/**/android/build lib",
3434
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix",
@@ -111,4 +111,4 @@
111111
"useTabs": false,
112112
"semi": false
113113
}
114-
}
114+
}

0 commit comments

Comments
 (0)