Skip to content

Commit

Permalink
[change] Added coveralls script
Browse files Browse the repository at this point in the history
  • Loading branch information
totallynotvaishnav committed Jun 13, 2022
1 parent dd5180d commit 2037714
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"dev": "webpack-dev-server --open --hot --mode development",
"start": "yarn dev",
"build": "webpack --progress --hide-modules --mode production",
"coverage": "yarn test -- --coverage && cat ./coverage/lcov.info | coveralls",
"coverage": "jest --coverage",
"coveralls": "test -f ./coverage/lcov.info && cat ./coverage/lcov.info | coveralls || echo 'no coverage file found'",
"precommit": "lint-staged",
"lint": "eslint --ext .js src",
"lint:fix": "eslint --fix --ext .js src",
Expand Down Expand Up @@ -36,7 +37,7 @@
"devDependencies": {
"@babel/preset-env": "^7.4.4",
"acorn": "^6.0.0",
"coveralls": "^3.0.3",
"coveralls": "^3.1.1",
"eslint": "^8.17.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
Expand Down

0 comments on commit 2037714

Please sign in to comment.