Skip to content

Commit d7eb70d

Browse files
committed
chore: update husky config.
1 parent 9b153c2 commit d7eb70d

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

.husky/pre-commit

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npx --no-install lint-staged
4+
# npx --no-install lint-staged
5+
npm run pretty-quick

lerna.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
{
22
"version": "2.7.2",
3-
"packages": [
4-
"example/*",
5-
"packages/*",
6-
"website"
7-
],
3+
"packages": ["example/*", "packages/*", "website"],
84
"npmClient": "yarn",
9-
"npmClientArgs": [
10-
"--production",
11-
"--no-optional"
12-
],
5+
"npmClientArgs": ["--production", "--no-optional"],
136
"useWorkspaces": true
147
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"license": "MIT",
33
"private": true,
44
"scripts": {
5+
"prepare": "husky install",
56
"⬇️⬇️⬇️⬇️⬇️ example::examples ⬇️⬇️⬇️⬇️⬇️": "▼▼▼▼▼ example::examples ▼▼▼▼▼",
67
"lib:build:examples": "lerna exec --scope @uiw/react-native -- tsbb build --babel-option=none --output ../../example/examples/lib",
78
"lib:build:type:examples": "lerna exec --scope @uiw/react-native -- tsbb types --outDir ../../example/examples/lib",

0 commit comments

Comments
 (0)