Move codecov dependency from package.json to .travis.yml file.

This commit is contained in:
Oleksii Trekhleb 2018-09-04 12:29:57 +03:00
parent ea78fb6eaf
commit ae236dff66
3 changed files with 7 additions and 28 deletions

View File

@ -3,8 +3,10 @@ dist: trusty
language: node_js
node_js:
- node
install:
- npm install -g codecov
script:
- npm run ci
- npm run codecov
- codecov
notifications:
email: false

23
package-lock.json generated
View File

@ -181,12 +181,6 @@
"sprintf-js": "~1.0.2"
}
},
"argv": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/argv/-/argv-0.0.2.tgz",
"integrity": "sha1-7L0W+JSbFXGDcRsb2jNPN4QBhas=",
"dev": true
},
"aria-query": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/aria-query/-/aria-query-3.0.0.tgz",
@ -1435,17 +1429,6 @@
"integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
"dev": true
},
"codecov": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/codecov/-/codecov-3.0.2.tgz",
"integrity": "sha512-9ljtIROIjPIUmMRqO+XuDITDoV8xRrZmA0jcEq6p2hg2+wY9wGmLfreAZGIL72IzUfdEDZaU8+Vjidg1fBQ8GQ==",
"dev": true,
"requires": {
"argv": "0.0.2",
"request": "^2.81.0",
"urlgrey": "0.4.4"
}
},
"collection-visit": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz",
@ -9037,12 +9020,6 @@
"integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=",
"dev": true
},
"urlgrey": {
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/urlgrey/-/urlgrey-0.4.4.tgz",
"integrity": "sha1-iS/pWWCAXoVRnxzUOJ8stMu3ZS8=",
"dev": true
},
"use": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/use/-/use-3.1.0.tgz",

View File

@ -6,8 +6,7 @@
"scripts": {
"lint": "eslint ./src/*",
"test": "jest",
"ci": "npm run lint && npm run test -- --coverage",
"codecov": "codecov"
"ci": "npm run lint && npm run test -- --coverage"
},
"pre-commit": [
"lint",
@ -27,7 +26,9 @@
"javascript-algorithms",
"sorting-algorithms",
"graph",
"tree"
"tree",
"interview",
"interview-preparation"
],
"author": "Oleksii Trekhleb (https://www.linkedin.com/in/trekhleb/)",
"license": "MIT",
@ -39,7 +40,6 @@
"@types/jest": "^23.1.4",
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.7.0",
"codecov": "^3.0.2",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^17.0.0",
"eslint-plugin-import": "^2.13.0",