mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 17:42:24 +08:00
@@ -11,7 +11,7 @@
|
|||||||
"build-lib": "BABEL_ENV=publish babel lib -d dist --ignore __tests__ --copy-files",
|
"build-lib": "BABEL_ENV=publish babel lib -d dist --ignore __tests__ --copy-files",
|
||||||
"clean": "rimraf dist/",
|
"clean": "rimraf dist/",
|
||||||
"flow": "flow",
|
"flow": "flow",
|
||||||
"format": "eslint --fix ./lib ./tests/src ./tests/lib",
|
"format": "npm run lint -- --fix",
|
||||||
"lint": "eslint ./lib ./tests/src ./tests/lib",
|
"lint": "eslint ./lib ./tests/src ./tests/lib",
|
||||||
"precommit": "lint-staged",
|
"precommit": "lint-staged",
|
||||||
"prepublish": "npm run clean && npm run build",
|
"prepublish": "npm run clean && npm run build",
|
||||||
@@ -131,11 +131,7 @@
|
|||||||
"eslint --fix",
|
"eslint --fix",
|
||||||
"git add"
|
"git add"
|
||||||
],
|
],
|
||||||
"tests/src/**/*.js": [
|
"tests/{src|lib}/**/*.js": [
|
||||||
"eslint --fix",
|
|
||||||
"git add"
|
|
||||||
],
|
|
||||||
"tests/lib/**/*.js": [
|
|
||||||
"eslint --fix",
|
"eslint --fix",
|
||||||
"git add"
|
"git add"
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user