File tree 4 files changed +211
-1
lines changed
4 files changed +211
-1
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ . " $( dirname " $0 " ) /_/husky.sh"
3
+
4
+ pnpx --no-install lint-staged
Original file line number Diff line number Diff line change 3
3
[ ![ Open in Visual Studio Code] ( https://open.vscode.dev/badges/open-in-vscode.svg )] ( https://open.vscode.dev/vuejs/create-vue )
4
4
5
5
An easy way to start a Vue project
6
+
7
+ ## Usage
8
+
9
+ ``` sh
10
+ npm init vue@next
11
+ ```
Original file line number Diff line number Diff line change 16
16
"node" : " ^12.13.0 || ^14.0.0 || >= 16.0.0"
17
17
},
18
18
"scripts" : {
19
+ "prepare" : " husky install" ,
19
20
"format" : " prettier --write ." ,
20
21
"test" : " node test.js" ,
21
22
"prepublishOnly" : " node snapshot.js"
26
27
},
27
28
"keywords" : [],
28
29
"author" :
" Haoqun Jiang <[email protected] >" ,
29
- "license" : " ISC " ,
30
+ "license" : " MIT " ,
30
31
"bugs" : {
31
32
"url" : " https://github.com/vuejs/create-vue/issues"
32
33
},
37
38
"prompts" : " ^2.4.1"
38
39
},
39
40
"devDependencies" : {
41
+ "husky" : " ^7.0.0" ,
42
+ "lint-staged" : " ^11.1.2" ,
40
43
"prettier" : " ^2.3.2"
44
+ },
45
+ "lint-staged" : {
46
+ "*.{js,ts,vue,json}" : [
47
+ " prettier --write"
48
+ ]
41
49
}
42
50
}
You can’t perform that action at this time.
0 commit comments