Skip to content

Commit 70ac6a2

Browse files
committed
better pkg.json 🎗 ..
1 parent 34707b3 commit 70ac6a2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,16 +141,17 @@
141141
},
142142
"repository": "ladjs/koa-better-error-handler",
143143
"scripts": {
144-
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
144+
"precommit": "lint-staged && npm tes-ci",
145145
"lint": "npm run lint:js",
146146
"lint:js": "xo",
147147
"lint:md": "remark . -qfo",
148-
"precommit": "lint-staged && npm tes-ci",
149-
"pretest-ci": "npm run lint",
150148
"test": "ava",
151-
"test-ci": "npm run test-cov",
152149
"pretest-cov": "rimraf .nyc_output",
153-
"test-cov": "cross-env NODE_ENV=test nyc npm run test"
150+
"test-cov": "cross-env NODE_ENV=test nyc npm run test",
151+
"pretest-ci": "npm run lint",
152+
"test-ci": "npm run test-cov",
153+
"coverage": "nyc report --reporter=text-lcov > coverage.lcov",
154+
"postcoverage": "codecov"
154155
},
155156
"xo": {
156157
"prettier": true,

0 commit comments

Comments
 (0)