code coverage
This commit is contained in:
parent
0d680208b1
commit
975a352053
3
.gitignore
vendored
3
.gitignore
vendored
@ -61,6 +61,5 @@ typings/
|
||||
.next
|
||||
.idea
|
||||
|
||||
package-lock.json
|
||||
out/
|
||||
dist/
|
||||
dist/
|
||||
|
@ -16,6 +16,9 @@ jobs:
|
||||
- node_js: 10
|
||||
- node_js: 12
|
||||
- node_js: 13
|
||||
after_success:
|
||||
- npm install -g codecov
|
||||
- npm run report-coverage
|
||||
- stage: gh pages
|
||||
script: skip
|
||||
before_deploy: npm run doc
|
||||
@ -29,6 +32,7 @@ jobs:
|
||||
branch: master
|
||||
if: branch = master AND type = push AND fork = false
|
||||
- stage: npm deploy
|
||||
script: skip
|
||||
deploy:
|
||||
provider: npm
|
||||
email: $NPM_EMAIL
|
||||
|
5351
package-lock.json
generated
Normal file
5351
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -11,7 +11,8 @@
|
||||
"scripts": {
|
||||
"doc": "./node_modules/.bin/jsdoc lib/v1/client.js lib/consts.js -R README.md",
|
||||
"build": "./node_modules/.bin/rollup -c",
|
||||
"test": "./node_modules/.bin/_mocha --require @babel/register ./tests/."
|
||||
"test": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --require @babel/register ./tests/.",
|
||||
"report-coverage": "./node_modules/.bin/nyc report --reporter=text-lcov > coverage.lcov && codecov"
|
||||
},
|
||||
"author": "retailCRM",
|
||||
"license": "MIT",
|
||||
@ -30,6 +31,7 @@
|
||||
"jsdoc": "^3.5.5",
|
||||
"mocha": "^5.2.0",
|
||||
"nock": "^10.0.6",
|
||||
"nyc": "^15.1.0",
|
||||
"rollup": "^1.2.2",
|
||||
"rollup-plugin-babel": "^4.3.2",
|
||||
"rollup-plugin-node-builtins": "^2.1.2",
|
||||
|
Loading…
Reference in New Issue
Block a user