mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-04-20 16:35:10 +08:00
Update yarn script syntax
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
"fmt": "find babel benchmarks docs jest src -name '*.js' | grep -v -E '(node_modules|dist)' | xargs yarn fmt:cmd",
|
||||
"fmt:cmd": "prettier --print-width=100 --single-quote --write",
|
||||
"jest": "jest",
|
||||
"jest:watch": "yarn test -- --watch",
|
||||
"lint": "yarn lint:cmd -- babel benchmarks docs jest src",
|
||||
"jest:watch": "yarn test --watch",
|
||||
"lint": "yarn lint:cmd babel benchmarks docs jest src",
|
||||
"lint:cmd": "eslint --ignore-path .gitignore --fix",
|
||||
"precommit": "lint-staged",
|
||||
"release": "yarn lint && yarn test && yarn build && npm publish",
|
||||
|
||||
Reference in New Issue
Block a user