chore: Remove pre-commit hook (#5362)
This commit is contained in:
parent
911957ba66
commit
bd17ee55bf
|
@ -1 +0,0 @@
|
|||
_
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npm run precommit
|
|
@ -1,6 +1,5 @@
|
|||
.circleci/
|
||||
.github/
|
||||
.husky
|
||||
build/
|
||||
node_modules/
|
||||
coverage/
|
||||
|
|
11
package.json
11
package.json
|
@ -8,16 +8,13 @@
|
|||
"test-update": "sb-rn-get-stories && jest --updateSnapshot",
|
||||
"lint": "eslint . && tsc",
|
||||
"prettier-lint": "prettier --write . && yarn lint",
|
||||
"ci": "npm run precommit && codecov",
|
||||
"ios": "npx react-native run-ios",
|
||||
"android": "npx react-native run-android --variant=experimentalPlayDebug",
|
||||
"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": "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",
|
||||
"postinstall": "patch-package && jetify",
|
||||
"prepare": "husky install",
|
||||
"build-icon-set": "node scripts/build-icon-set.js",
|
||||
"e2e:android-build-debug": "yarn detox build -c android.emu.debug",
|
||||
"e2e:android-test-debug": "yarn detox test -c android.emu.debug",
|
||||
|
@ -29,13 +26,6 @@
|
|||
"e2e:ios-test": "yarn detox test -c ios.sim.release",
|
||||
"e2e:start": "RUNNING_E2E_TESTS=true npx react-native start"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,ts,tsx}": [
|
||||
"prettier --write",
|
||||
"eslint",
|
||||
"jest --bail --findRelatedTests --passWithNoTests"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@bugsnag/react-native": "^7.10.5",
|
||||
"@codler/react-native-keyboard-aware-scroll-view": "^2.0.1",
|
||||
|
@ -209,7 +199,6 @@
|
|||
"eslint-plugin-react": "7.30.0",
|
||||
"eslint-plugin-react-hooks": "^4.5.0",
|
||||
"eslint-plugin-react-native": "4.0.0",
|
||||
"husky": "^6.0.0",
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
"jest": "^28.1.3",
|
||||
"jest-cli": "^28.1.3",
|
||||
|
|
|
@ -12790,11 +12790,6 @@ human-signals@^2.1.0:
|
|||
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
|
||||
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
|
||||
|
||||
husky@^6.0.0:
|
||||
version "6.0.0"
|
||||
resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e"
|
||||
integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==
|
||||
|
||||
i18n-js@3.9.2:
|
||||
version "3.9.2"
|
||||
resolved "https://registry.yarnpkg.com/i18n-js/-/i18n-js-3.9.2.tgz#4a015dcfabd4c9fc73115fc2d02d2627e4c15ca5"
|
||||
|
|
Loading…
Reference in New Issue