File tree Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Original file line number Diff line number Diff line change 25
25
"build" : " rimraf dist transpile && tsc -p tsconfig.json & wait" ,
26
26
"postbuild" : " rollup --config rollup.config.js" ,
27
27
"lint" : " tslint -c tslint.json -p tsconfig.json" ,
28
+ "lint:fix" : " tslint -c tslint.json -p tsconfig.json --fix" ,
28
29
"release" : " np" ,
29
- "prepublishOnly" : " npm run build"
30
+ "prepublishOnly" : " npm- run-all build"
30
31
},
31
32
"peerDependencies" : {
32
33
"rollup" : " >= 0.67.4"
59
60
},
60
61
"lint-staged" : {
61
62
"*.ts" : [
62
- " npm run lint -- fix" ,
63
+ " npm- run-all lint: fix" ,
63
64
" prettier --config .prettierrc --write" ,
64
65
" git add"
65
66
]
66
67
},
67
68
"husky" : {
68
69
"hooks" : {
69
- "pre-push" : " npm run test && npm run build" ,
70
+ "pre-push" : " npm- run-all test build" ,
70
71
"pre-commit" : " lint-staged"
71
72
}
72
73
},
Original file line number Diff line number Diff line change 376
376
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
377
377
integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==
378
378
379
- " @types/node@* " :
379
+ " @types/node@*" , "@types/[email protected] " :
380
380
version "12.12.14"
381
381
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.14.tgz#1c1d6e3c75dba466e0326948d56e8bd72a1903d2"
382
382
integrity sha512-u/SJDyXwuihpwjXy7hOOghagLEV1KdAST6syfnOk6QZAMzZuWZqXy5aYYZbh8Jdpd4escVFP0MvftHNDb9pruA==
383
383
384
-
385
- version "12.12.11"
386
- resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.11.tgz#bec2961975888d964196bf0016a2f984d793d3ce"
387
- integrity sha512-O+x6uIpa6oMNTkPuHDa9MhMMehlxLAd5QcOvKRjAFsBVpeFWTOPnXbDvILvFgFFZfQ1xh1EZi1FbXxUix+zpsQ==
388
-
389
384
" @types/normalize-package-data@^2.4.0 " :
390
385
version "2.4.0"
391
386
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
@@ -2212,10 +2207,10 @@ lines-and-columns@^1.1.6:
2212
2207
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00"
2213
2208
integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=
2214
2209
2215
- lint-staged@9.4.3 :
2216
- version "9.4.3 "
2217
- resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-9.4.3 .tgz#f55ad5f94f6e105294bfd6499b23142961f7b982 "
2218
- integrity sha512-PejnI+rwOAmKAIO+5UuAZU9gxdej/ovSEOAY34yMfC3OS4Ac82vCBPzAWLReR9zCPOMqeVwQRaZ3bUBpAsaL2Q ==
2210
+ lint-staged@9.5.0 :
2211
+ version "9.5.0 "
2212
+ resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-9.5.0 .tgz#290ec605252af646d9b74d73a0fa118362b05a33 "
2213
+ integrity sha512-nawMob9cb/G1J98nb8v3VC/E8rcX1rryUYXVZ69aT9kde6YWX+uvNOEHY5yf2gcWcTJGiD0kqXmCnS3oD75GIA ==
2219
2214
dependencies :
2220
2215
chalk "^2.4.2"
2221
2216
commander "^2.20.0"
You can’t perform that action at this time.
0 commit comments