Skip to content

Commit

Permalink
chore: added package
Browse files Browse the repository at this point in the history
  • Loading branch information
BIYUEHU committed Aug 19, 2023
1 parent a48a308 commit 99cb20f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
node_modules
# dist
dist
logs
*.log

Expand Down
22 changes: 16 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ git cz
```


Install Husky(Method.1):
Install Husky:

```shell
pnpm install husky -D
Expand All @@ -393,11 +393,6 @@ pnpm install husky -D

```shell
pnpm run prepare
```

Install Husky(Method.2):

```shell
pnpx husky install
```

Expand Down Expand Up @@ -529,6 +524,21 @@ nrm ls
# View all sources list
nrm use npm
# Checkout some source
npm login
# Login your account
```

> .npmignore
```ini
node_modules
dist
logs
*.log

.vscode/*
.vs/*
!.vscode/extensions.json
.idea
```

> package.json
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.0",
"prettier": "^3.0.2",
"standard-version": "^9.5.0"
Expand Down
9 changes: 9 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 99cb20f

Please sign in to comment.