Skip to content

Commit 8192323

Browse files
Yarn and Volta
1 parent 957e995 commit 8192323

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@
2525
"build": "rimraf dist transpile && tsc -p tsconfig.json & wait",
2626
"postbuild": "rollup --config rollup.config.js",
2727
"lint": "tslint -c tslint.json -p tsconfig.json",
28+
"lint:fix": "tslint -c tslint.json -p tsconfig.json --fix",
2829
"release": "np",
29-
"prepublishOnly": "npm run build"
30+
"prepublishOnly": "npm-run-all build"
3031
},
3132
"peerDependencies": {
3233
"rollup": ">= 0.67.4"
@@ -59,14 +60,14 @@
5960
},
6061
"lint-staged": {
6162
"*.ts": [
62-
"npm run lint --fix",
63+
"npm-run-all lint:fix",
6364
"prettier --config .prettierrc --write",
6465
"git add"
6566
]
6667
},
6768
"husky": {
6869
"hooks": {
69-
"pre-push": "npm run test && npm run build",
70+
"pre-push": "npm-run-all test build",
7071
"pre-commit": "lint-staged"
7172
}
7273
},

yarn.lock

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -376,16 +376,11 @@
376376
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
377377
integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==
378378

379-
"@types/node@*":
379+
"@types/node@*", "@types/[email protected]":
380380
version "12.12.14"
381381
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.14.tgz#1c1d6e3c75dba466e0326948d56e8bd72a1903d2"
382382
integrity sha512-u/SJDyXwuihpwjXy7hOOghagLEV1KdAST6syfnOk6QZAMzZuWZqXy5aYYZbh8Jdpd4escVFP0MvftHNDb9pruA==
383383

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-
389384
"@types/normalize-package-data@^2.4.0":
390385
version "2.4.0"
391386
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:
22122207
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00"
22132208
integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=
22142209

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==
22192214
dependencies:
22202215
chalk "^2.4.2"
22212216
commander "^2.20.0"

0 commit comments

Comments
 (0)