File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 2323 },
2424 "homepage" : " https://github.com/vuejs/vue-loader" ,
2525 "scripts" : {
26- "lint" : " eslint lib test" ,
27- "lint:fix" : " eslint lib test --fix" ,
28- "precommit" : " lint-staged" ,
26+ "lint" : " eslint lib test --fix" ,
2927 "test" : " eslint lib && mocha --slow 5000 --timeout 10000" ,
3028 "docs" : " cd docs && gitbook install && gitbook serve" ,
3129 "docs:deploy" : " bash ./docs/deploy.sh"
3230 },
31+ "gitHooks" : {
32+ "pre-commit" : " lint-staged"
33+ },
3334 "lint-staged" : {
3435 "lib/**/*.js" : [
3536 " eslint --fix" ,
7576 "gitbook-plugin-edit-link" : " ^2.0.2" ,
7677 "gitbook-plugin-github" : " ^3.0.0" ,
7778 "gitbook-plugin-theme-vuejs" : " ^1.1.0" ,
78- "husky " : " ^0.14 .3" ,
79+ "yorkie " : " ^1.0 .3" ,
7980 "inject-loader" : " ^3.0.1" ,
8081 "js-yaml" : " ^3.9.1" ,
8182 "jsdom" : " ^9.2.1" ,
Original file line number Diff line number Diff line change @@ -2235,14 +2235,6 @@ https-browserify@^1.0.0:
22352235 version "1.0.0"
22362236 resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73"
22372237
2238- husky@^0.14.3 :
2239- version "0.14.3"
2240- resolved "https://registry.yarnpkg.com/husky/-/husky-0.14.3.tgz#c69ed74e2d2779769a17ba8399b54ce0b63c12c3"
2241- dependencies :
2242- is-ci "^1.0.10"
2243- normalize-path "^1.0.0"
2244- strip-indent "^2.0.0"
2245-
22462238iconv-lite@0.4.19 :
22472239 version "0.4.19"
22482240 resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b"
@@ -4849,3 +4841,12 @@ yargs@~3.10.0:
48494841 cliui "^2.1.0"
48504842 decamelize "^1.0.0"
48514843 window-size "0.1.0"
4844+
4845+ yorkie@^1.0.3 :
4846+ version "1.0.3"
4847+ resolved "https://registry.yarnpkg.com/yorkie/-/yorkie-1.0.3.tgz#5c05db48c012def99c29b79685b6ba2e40c8c671"
4848+ dependencies :
4849+ execa "^0.8.0"
4850+ is-ci "^1.0.10"
4851+ normalize-path "^1.0.0"
4852+ strip-indent "^2.0.0"
You can’t perform that action at this time.
0 commit comments