Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Commit 53cb12b

Browse files
committed
Small npm scripts changes
1 parent 08554b2 commit 53cb12b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,16 @@
9494
"url": "https://github.com/netlify/js-client.git"
9595
},
9696
"scripts": {
97-
"prepublishOnly": "npm run build:webpack && git push && git push --tags && gh-release",
98-
"ci": "run-s test build",
97+
"prepublishOnly": "run-s build && git push && git push --tags && gh-release",
98+
"ci": "run-s test coverage build",
9999
"test": "run-s test:*",
100100
"test:lint": "eslint --fix \"src/**/*.js\" \"*.js\"",
101101
"test:prettier": "prettier --write --loglevel warn \"src/**/*.js\" \"*.{js,md,yml,json}\"",
102102
"test:deps": "dependency-check ./package.json --entry \"src/**/!(*.test).js\" --unused --missing --no-dev --no-peer",
103-
"test:ava": "nyc --reporter=lcov ava --verbose && nyc report",
103+
"test:ava": "nyc --reporter=lcov ava --verbose",
104+
"test:nyc": "nyc report",
104105
"watch": "nyc --reporter=lcov ava --watch",
105-
"report": "nyc report --reporter=text-lcov | coveralls",
106+
"coverage": "nyc report --reporter=text-lcov | coveralls",
106107
"build": "run-s build:*",
107108
"build:webpack": "webpack",
108109
"deptree": "depcruise --exclude '^node_modules' --output-type dot src | dot -T svg > site/dist/dependencygraph.svg",

0 commit comments

Comments
 (0)