Skip to content

Commit f2961f4

Browse files
author
Sebi Nemeth
committed
remove husky prepare script
1 parent 0448984 commit f2961f4

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ cd vue-i18n-live-translator-plugin
5252
npm install
5353
```
5454
```bash
55-
husky install
56-
```
57-
```bash
5855
npm run dev # demo & dev app with vite
59-
```
56+
```
57+
> [!WARNING]
58+
> Always make sure that your changes have been built before pushing with `npm run build`.
59+
> The package uses [husky](https://typicode.github.io/husky) to register a pre-commit hook that builds the code.

package.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,10 @@
66
"types": "./dist/index.d.ts",
77
"scripts": {
88
"dev": "vite",
9+
"predev": "husky install",
910
"build:demo": "vite build --base=/vue-i18n-live-translator-plugin/",
1011
"build": "tsc --declaration",
11-
"test": "echo \"Error: no test specified\" && exit 1",
12-
"prepare": "husky install"
13-
},
14-
"husky": {
15-
"hooks": {
16-
"pre-commit": "echo hi"
17-
}
12+
"test": "echo \"Error: no test specified\" && exit 1"
1813
},
1914
"repository": {
2015
"type": "git",

0 commit comments

Comments
 (0)