Skip to content

Commit

Permalink
chore: upgrade tap (moscajs#611)
Browse files Browse the repository at this point in the history
* Verify object type by t.type

* Upgrade tap

* replace deprecated tap functions

* replace deprecated tap functions

* disable check-coverage warning as an error

* Add .taprc

* Update package.json
  • Loading branch information
gnought authored Apr 6, 2021
1 parent bc961a4 commit 4d7b438
Show file tree
Hide file tree
Showing 18 changed files with 386 additions and 381 deletions.
5 changes: 5 additions & 0 deletions .taprc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ts: false
jsx: false
flow: false
coverage: true
strict: true
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"lint:typescript": "eslint -c types/.eslintrc.json aedes.d.ts types/**/*.ts test/types/**/*.test-d.ts",
"lint:markdown": "markdownlint docs/*.md README.md",
"test": "npm run lint && npm run unit && npm run test:typescript",
"test:ci": "npm run lint && npm run unit -- --cov --coverage-report=lcovonly && npm run test:typescript",
"test:ci": "npm run lint && npm run unit -- --cov --no-check-coverage --coverage-report=lcovonly && npm run test:typescript",
"test:report": "npm run lint && npm run unit:report && npm run test:typescript",
"test:typescript": "tsd",
"unit": "tap --no-esm -J test/*.js",
"unit:report": "tap --no-esm -J test/*.js --cov --coverage-report=html --coverage-report=cobertura | tee out.tap",
"unit": "tap -J test/*.js",
"unit:report": "tap -J test/*.js --cov --coverage-report=html --coverage-report=cobertura | tee out.tap",
"license-checker": "license-checker --production --onlyAllow=\"MIT;ISC;BSD-3-Clause;BSD-2-Clause\"",
"release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it --disable-metrics"
},
Expand Down Expand Up @@ -111,7 +111,7 @@
"release-it": "^14.4.1",
"snazzy": "^9.0.0",
"standard": "^16.0.3",
"tap": "^14.11.0",
"tap": "^15.0.2",
"tsd": "^0.14.0",
"typescript": "^4.2.3",
"websocket-stream": "^5.5.2"
Expand Down
Loading

0 comments on commit 4d7b438

Please sign in to comment.