test: drop end of life Node.js version

* test: Dropped Node v13.x since it's now past it's expiration.
* test: Migrated from Travis CI to GitHub Actions.
* test: Migrated from Coveralls to CodeCov.
* docs: Dropped over 1.x stuff from the read me.
* perf: Updated dependencies and rebuilt against latest TypeScript.
* feat: Bumped major version number due to Node.js support changing.
This commit is contained in:
Josh Sherman 2020-06-08 18:19:22 -05:00
parent 2edef851ca
commit 07988d8c71
10 changed files with 1826 additions and 1880 deletions

View file

@ -1,6 +1,6 @@
{
"name": "holidayapi",
"version": "3.3.0",
"version": "4.0.0",
"description": "Official Node.js library for Holiday API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@ -21,24 +21,23 @@
},
"homepage": "https://holidayapi.com",
"engines": {
"node": ">= 8.0.0"
"node": ">= 10.0.0"
},
"devDependencies": {
"@types/jest": "^25.2.1",
"@types/jest": "^25.2.3",
"@types/nock": "^11.1.0",
"@types/node": "^13.13.4",
"@types/node": "^14.0.12",
"@types/node-fetch": "^2.5.7",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"coveralls": "^3.1.0",
"eslint": "^6.8.0",
"@typescript-eslint/eslint-plugin": "^3.2.0",
"@typescript-eslint/parser": "^3.2.0",
"eslint": "^7.2.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.8.2",
"jest": "^25.4.0",
"eslint-plugin-import": "^2.21.1",
"eslint-plugin-jest": "^23.13.2",
"jest": "^26.0.1",
"nock": "^12.0.3",
"ts-jest": "^25.4.0",
"typescript": "^3.7.5"
"ts-jest": "^26.1.0",
"typescript": "^3.9.5"
},
"dependencies": {
"node-fetch": "^2.6.0"
@ -47,6 +46,6 @@
"build": "tsc",
"lint": "eslint --ext .js,.ts src tests",
"test": "jest",
"test:coverage": "jest --coverage --coverageReporters=text-lcov | coveralls"
"test:coverage": "jest --coverage"
}
}