File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ cd vue-i18n-live-translator-plugin
52
52
npm install
53
53
```
54
54
``` bash
55
- husky install
56
- ```
57
- ``` bash
58
55
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.
Original file line number Diff line number Diff line change 6
6
"types" : " ./dist/index.d.ts" ,
7
7
"scripts" : {
8
8
"dev" : " vite" ,
9
+ "predev" : " husky install" ,
9
10
"build:demo" : " vite build --base=/vue-i18n-live-translator-plugin/" ,
10
11
"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"
18
13
},
19
14
"repository" : {
20
15
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments