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 language: node_js
node_js: node_js:
- node - node
install:
- npm install -g codecov
script: script:
- npm run ci - npm run ci
- npm run codecov - codecov
notifications: notifications:
email: false email: false

23
package-lock.json generated
View File

@ -181,12 +181,6 @@
"sprintf-js": "~1.0.2" "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": { "aria-query": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/aria-query/-/aria-query-3.0.0.tgz", "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-3.0.0.tgz",
@ -1435,17 +1429,6 @@
"integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
"dev": true "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": { "collection-visit": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz",
@ -9037,12 +9020,6 @@
"integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=",
"dev": true "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": { "use": {
"version": "3.1.0", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/use/-/use-3.1.0.tgz", "resolved": "https://registry.npmjs.org/use/-/use-3.1.0.tgz",

View File

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