Commit 38ddc861 by Ari Rizzitano

try setting up coveralls

parent 2981c727
coverage/*
dist/* dist/*
...@@ -2,3 +2,4 @@ ...@@ -2,3 +2,4 @@
.eslintcache .eslintcache
node_modules node_modules
npm-debug.log npm-debug.log
coverage
...@@ -2,3 +2,6 @@ language: node_js ...@@ -2,3 +2,6 @@ language: node_js
node_js: node_js:
- 6 - 6
after_script:
- yarn run coveralls
...@@ -8,11 +8,12 @@ ...@@ -8,11 +8,12 @@
"scripts": { "scripts": {
"build": "NODE_ENV=production webpack", "build": "NODE_ENV=production webpack",
"build-storybook": "build-storybook", "build-storybook": "build-storybook",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"deploy-storybook": "storybook-to-ghpages", "deploy-storybook": "storybook-to-ghpages",
"lint": "eslint --ext .js --ext .jsx .", "lint": "eslint --ext .js --ext .jsx .",
"precommit": "yarn run lint", "precommit": "yarn run lint",
"start": "start-storybook -p 6006", "start": "start-storybook -p 6006",
"test": "jest" "test": "jest --coverage"
}, },
"dependencies": { "dependencies": {
"classnames": "^2.2.5", "classnames": "^2.2.5",
...@@ -35,6 +36,7 @@ ...@@ -35,6 +36,7 @@
"babel-preset-env": "^1.4.0", "babel-preset-env": "^1.4.0",
"babel-preset-es2015": "^6.24.1", "babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1", "babel-preset-react": "^6.24.1",
"coveralls": "^2.13.1",
"enzyme": "^2.8.2", "enzyme": "^2.8.2",
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-airbnb": "^14.1.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