evrimfeyyaz/covid-19-api

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@evrimfeyyaz/covid-19-api",
  "author": "Evrim Persembe",
  "version": "2.0.5",
  "description": "A JavaScript library that provides a simple API for the Johns Hopkins University CSSE COVID-19 time series data.",
  "license": "ISC",
  "keywords": [
    "covid",
    "covid19",
    "covid-19",
    "coronavirus",
    "api",
    "sars-cov-2"
  ],
  "repository": {
    "type": "git",
    "url": "github:evrimfeyyaz/covid-19-api"
  },
  "main": "lib/index.js",
  "module": "esm/index.js",
  "files": [
    "lib/",
    "esm/"
  ],
  "types": "lib/index.d.ts",
  "typings": "lib/index.d.ts",
  "scripts": {
    "build": "rimraf lib esm && tsc && tsc -m ES6 --outDir esm",
    "docs": "rimraf docs && typedoc --out docs --name \"COVID-19 API\" --includeVersion && touch docs/_config.yml && echo \"include:\\n  - \\\"_*_.html\\\"\\n  - \\\"_*_.*.html\\\"\" >> docs/_config.yml",
    "lint": "eslint . --ext .js,.ts,.tsx",
    "test": "jest",
    "test-watch": "jest --watch",
    "test-coverage": "jest --coverage",
    "version": "npm run lint && npm run build && npm run docs && git add docs",
    "release": "np"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{js,ts,tsx}": [
      "eslint --fix"
    ]
  },
  "devDependencies": {
    "@types/csv-parse": "^1.2.2",
    "@types/jest": "^25.2.3",
    "@typescript-eslint/eslint-plugin": "^2.34.0",
    "@typescript-eslint/parser": "^2.34.0",
    "eslint": "^7.0.0",
    "eslint-config-prettier": "^6.11.0",
    "eslint-plugin-prettier": "^3.1.3",
    "fake-indexeddb": "^3.0.0",
    "husky": "^4.2.5",
    "jest": "^26.0.1",
    "jest-fetch-mock": "^3.0.3",
    "lint-staged": "^10.2.4",
    "np": "*",
    "prettier": "^2.0.5",
    "rimraf": "^3.0.2",
    "ts-jest": "^26.0.0",
    "typedoc": "^0.17.6",
    "typescript": "^3.9.2"
  },
  "dependencies": {
    "csv-parse": "^4.9.1",
    "idb": "^5.0.3",
    "tslib": "^1.13.0"
  }
}