Skip to content

Commit cef84b7

Browse files
Add prepublishOnly parameter
1 parent 845e358 commit cef84b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"license": "Apache-2.0",
1212
"homepage": "https://github.com/audienceproject/userreport-react-native-sdk",
1313
"scripts": {
14-
"test": "jest"
14+
"test": "jest",
15+
"prepublishOnly": "npm install && npm run test"
1516
},
1617
"peerDependencies": {
1718
"react-native": "^0.64.0",

0 commit comments

Comments
 (0)