Skip to content

Commit 519dded

Browse files
author
youncccat
committed
[Move] .gitignore to parent folder
1 parent 789981f commit 519dded

File tree

5 files changed

+10
-33
lines changed

5 files changed

+10
-33
lines changed

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/_/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.husky/_/husky.sh

Lines changed: 0 additions & 30 deletions
This file was deleted.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"author": "youncccat <[email protected]>",
88
"license": "MIT",
99
"scripts": {
10-
"test": "jest --rootDir packages"
10+
"test": "jest --rootDir packages",
11+
"prepare": "husky install"
1112
},
1213
"devDependencies": {
1314
"@commitlint/cli": "^12.1.4",
@@ -19,7 +20,8 @@
1920
"jest-config": "^27.0.1",
2021
"lerna": "^4.0.0",
2122
"ts-jest": "^27.0.0",
22-
"typescript": "3.8.3"
23+
"typescript": "3.8.3",
24+
"husky": "^6.0.0"
2325
},
2426
"workspaces": [
2527
"commitlint-config-wizardoc",

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3234,6 +3234,11 @@ humanize-ms@^1.2.1:
32343234
dependencies:
32353235
ms "^2.0.0"
32363236

3237+
husky@^6.0.0:
3238+
version "6.0.0"
3239+
resolved "https://registry.npmjs.org/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e"
3240+
integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==
3241+
32373242
[email protected], iconv-lite@^0.4.24:
32383243
version "0.4.24"
32393244
resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz"

0 commit comments

Comments
 (0)