This repository was archived by the owner on Sep 12, 2019. It is now read-only.
File tree 2 files changed +6939
-4
lines changed
2 files changed +6939
-4
lines changed Original file line number Diff line number Diff line change 17
17
"chokidar" : " ^2.1.5" ,
18
18
"copy-template-dir" : " ^1.4.0" ,
19
19
"debug" : " ^4.1.1" ,
20
- "npm-packlist" : " ^1.4.1" ,
21
- "precinct" : " ^6.1.2" ,
22
- "read-pkg-up" : " ^5.0.0" ,
23
- "require-package-name" : " ^2.0.1" ,
24
20
"execa" : " ^1.0.0" ,
25
21
"express" : " ^4.16.4" ,
26
22
"express-logging" : " ^1.1.1" ,
35
31
"netlify" : " 2.4.1" ,
36
32
"netlify-cli-logo" : " ^1.0.0" ,
37
33
"node-fetch" : " ^2.3.0" ,
34
+ "npm-packlist" : " ^1.4.1" ,
38
35
"ora" : " ^3.4.0" ,
36
+ "precinct" : " ^6.1.2" ,
37
+ "read-pkg-up" : " ^5.0.0" ,
38
+ "require-package-name" : " ^2.0.1" ,
39
39
"resolve" : " ^1.10.0" ,
40
40
"safe-join" : " ^0.1.2" ,
41
41
"static-server" : " ^2.2.1" ,
55
55
"eslint-plugin-prettier" : " ^3.0.1" ,
56
56
"gh-release" : " ^3.5.0" ,
57
57
"globby" : " ^8" ,
58
+ "husky" : " ^2.2.0" ,
59
+ "lint-staged" : " ^8.1.6" ,
58
60
"mocha" : " ^5" ,
59
61
"nock" : " ^10.0.6" ,
60
62
"npm-run-all" : " ^4.1.5" ,
82
84
" @oclif/plugin-help"
83
85
]
84
86
},
87
+ "husky" : {
88
+ "hooks" : {
89
+ "pre-commit" : " lint-staged"
90
+ }
91
+ },
92
+ "lint-staged" : {
93
+ "src/*.js" : [
94
+ " npm run format" ,
95
+ " git add"
96
+ ]
97
+ },
85
98
"repository" : " netlify/netlify-dev-plugin" ,
86
99
"scripts" : {
87
100
"format" : " npm run format:prettier -- --write" ,
You can’t perform that action at this time.
0 commit comments