Skip to content

Commit 477a192

Browse files
committed
Added coveralls
1 parent ac9e2c5 commit 477a192

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"lint": "eslint src tests",
1111
"test": "jest --coverage --expand",
1212
"test:watch": "jest --watch",
13-
"prepublish": "yarn lint && yarn test && yarn clean && yarn build"
13+
"prepublish": "yarn lint && yarn test && yarn clean && yarn build",
14+
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
1415
},
1516
"repository": {
1617
"type": "git",
@@ -29,6 +30,7 @@
2930
"@babel/preset-env": "^7.6.3",
3031
"babel-jest": "^24.9.0",
3132
"babel-loader": "^8.0.6",
33+
"coveralls": "^3.0.7",
3234
"eslint": "^6.5.1",
3335
"eslint-config-airbnb-base": "^14.0.0",
3436
"eslint-config-prettier": "^6.4.0",

0 commit comments

Comments
 (0)