Skip to content

Commit

Permalink
Chore: Run lint and tests on staged files only (#3291)
Browse files Browse the repository at this point in the history
  • Loading branch information
gerzonc committed Jul 22, 2021
1 parent 91f770c commit 97ed3a6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,18 @@
"android-whitelabel": "npx react-native run-android --main-activity chat.rocket.reactnative.MainActivity --variant=experimentalPlayDebug --appId",
"log-android": "react-native log-android",
"snyk-protect": "snyk protect",
"precommit": "eslint . && jest",
"precommit": "lint-staged",
"generate-source-maps-ios": "react-native bundle --platform ios --dev false --entry-file index.js --bundle-output ios-release.bundle --sourcemap-output ios-release.bundle.map",
"generate-source-maps-android": "bugsnag-sourcemaps",
"postinstall": "patch-package && jetify",
"prepare": "husky install"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint",
"jest --bail --findRelatedTests"
]
},
"dependencies": {
"@codler/react-native-keyboard-aware-scroll-view": "^1.0.1",
"@nozbe/watermelondb": "0.19.0",
Expand Down Expand Up @@ -62,6 +68,7 @@
"i18n-js": "3.8.0",
"js-base64": "3.6.1",
"js-sha256": "^0.9.0",
"lint-staged": "^11.1.0",
"lodash": "4.17.21",
"moment": "2.29.1",
"pretty-bytes": "5.6.0",
Expand Down

0 comments on commit 97ed3a6

Please sign in to comment.