Commit 38ddc861 by Ari Rizzitano

try setting up coveralls

parent 2981c727
......@@ -2,3 +2,4 @@
.eslintcache
node_modules
npm-debug.log
coverage
......@@ -2,3 +2,6 @@ language: node_js
node_js:
- 6
after_script:
- yarn run coveralls
......@@ -8,11 +8,12 @@
"scripts": {
"build": "NODE_ENV=production webpack",
"build-storybook": "build-storybook",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"deploy-storybook": "storybook-to-ghpages",
"lint": "eslint --ext .js --ext .jsx .",
"precommit": "yarn run lint",
"start": "start-storybook -p 6006",
"test": "jest"
"test": "jest --coverage"
},
"dependencies": {
"classnames": "^2.2.5",
......@@ -35,6 +36,7 @@
"babel-preset-env": "^1.4.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"coveralls": "^2.13.1",
"enzyme": "^2.8.2",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^14.1.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment