Adds codecov integration

This commit is contained in:
Max Hoffmann 2018-03-02 13:55:17 -05:00
parent 91b2488ed2
commit 72652ebc8b
No known key found for this signature in database
GPG Key ID: 1DFA4D13DD27A676
4 changed files with 27 additions and 7 deletions

1
.gitignore vendored
View File

@ -18,6 +18,7 @@ example.html
coverage/
docs/
lib/
coverage/
# 'cause we are all yarny and stuff
package-lock.json

View File

@ -10,5 +10,7 @@
"!src/index.js",
"!src/index.legacy.js"
],
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"moduleDirectories": ["node_modules", "src", "scripts/test"]
}

View File

@ -9,12 +9,12 @@
"repository": "https://github.com/Shopify/draggable",
"contributors": [
{
"name" : "Max Hoffmann",
"email" : "max.hoffmann@shopify.com"
"name": "Max Hoffmann",
"email": "max.hoffmann@shopify.com"
},
{
"name" : "Curtis Dulmage",
"email" : "curtis.dulmage@shopify.com"
"name": "Curtis Dulmage",
"email": "curtis.dulmage@shopify.com"
}
],
"bugs": {
@ -36,7 +36,7 @@
"lint": "eslint ./src --max-warnings 0",
"esdoc": "esdoc -c esdoc.json",
"test": "jest --config config.json",
"test-ci": "jest --config config.json --coverage"
"test-ci": "jest --config config.json --coverage && codecov"
},
"files": [
"lib/**/*.js",
@ -44,14 +44,15 @@
],
"devDependencies": {
"babel-core": "^6.26.0",
"babel-preset-shopify": "^16.2.0",
"babel-jest": "^22.1.0",
"babel-loader": "^7.1.2",
"babel-preset-shopify": "^16.2.0",
"codecov": "^3.0.0",
"concurrently": "^3.5.1",
"core-js": "^2.5.3",
"esdoc": "^1.0.4",
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
"esdoc-standard-plugin": "^1.0.0",
"esdoc": "^1.0.4",
"eslint": "^4.16.0",
"eslint-loader": "^1.9.0",
"eslint-plugin-shopify": "^19.0.0",

View File

@ -194,6 +194,10 @@ argparse@^1.0.7:
dependencies:
sprintf-js "~1.0.2"
argv@0.0.2:
version "0.0.2"
resolved "https://registry.yarnpkg.com/argv/-/argv-0.0.2.tgz#ecbd16f8949b157183711b1bda334f37840185ab"
aria-query@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-0.7.0.tgz#4af10a1e61573ddea0cf3b99b51c52c05b424d24"
@ -1352,6 +1356,14 @@ code-point-at@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
codecov@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/codecov/-/codecov-3.0.0.tgz#c273b8c4f12945723e8dc9d25803d89343e5f28e"
dependencies:
argv "0.0.2"
request "2.81.0"
urlgrey "0.4.4"
color-convert@^1.9.0:
version "1.9.1"
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed"
@ -4980,6 +4992,10 @@ url@^0.11.0:
punycode "1.3.2"
querystring "0.2.0"
urlgrey@0.4.4:
version "0.4.4"
resolved "https://registry.yarnpkg.com/urlgrey/-/urlgrey-0.4.4.tgz#892fe95960805e85519f1cd4389f2cb4cbb7652f"
util-deprecate@~1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"