gregoranders/ts-jhu-covid19

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@gregoranders/jhu-covid19",
  "version": "0.0.10",
  "description": "Provides access to the data published at the COVID-19 Data Repository by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University",
  "scripts": {
    "clear": "rimraf ./node_modules ./package-lock.json",
    "prebuild": "eslint ./src/**/*.ts",
    "build": "cross-env NODE_ENV=production npm run script",
    "postbuild": "npm run docs",
    "lint": "markdownlint --config .markdownlint.yaml --ignore-path .markdownlintignore .",
    "pretest": "rimraf -g ./test/*",
    "test": "jest",
    "prescript": "rimraf -g ./dist/*",
    "script": "npm run script:cjs && npm run script:esm",
    "script:cjs": "tsc --project ./ --module commonjs --target es5 --outDir ./dist/cjs",
    "script:esm": "tsc --project ./ --module es6 --declaration --declarationDir ./dist/esm --outDir ./dist/esm",
    "prepare": "husky install",
    "docs": "npm run api-extractor && npm run api-documenter",
    "api-extractor": "api-extractor run --local --verbose",
    "api-documenter": "api-documenter markdown --input ./dist --output ./docs-tmp && cpx 'docs-tmp/**/*.*' docs",
    "changelog": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -s",
    "codeclimate": "docker run --interactive --tty --rm --env CODECLIMATE_CODE=\"$PWD\" --volume \"$PWD\":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze"
  },
  "main": "dist/cjs/index.js",
  "module": "dist/esm/index.js",
  "types": "dist/index.d.ts",
  "files": [
    "dist"
  ],
  "engines": {
    "node": ">=16.0"
  },
  "private": false,
  "repository": {
    "type": "git",
    "url": "git+https://github.com/gregoranders/ts-jhu-covid19.git"
  },
  "keywords": [
    "api-documenter",
    "api-extractor",
    "covid19",
    "jhu",
    "csse",
    "jest",
    "typescript"
  ],
  "lint-staged": {
    "*.ts": [
      "eslint --ext .ts"
    ],
    "*.md": [
      "markdownlint --config .markdownlint.yaml --ignore-path .markdownlintignore"
    ]
  },
  "jest-html-reporter": {
    "pageTitle": "ts-jhu-covid19",
    "outputPath": "<rootDir>/test/index.html"
  },
  "jest-junit": {
    "outputDirectory": "<rootDir>//test"
  },
  "jest": {
    "collectCoverage": true,
    "coverageDirectory": "<rootDir>/test/coverage",
    "collectCoverageFrom": [
      "<rootDir>/src/**/*.ts",
      "!<rootDir>/node_modules/**",
      "!<rootDir>/dist/**",
      "!<rootDir>/temp/**",
      "!<rootDir>/test/**"
    ],
    "coverageReporters": [
      "lcovonly",
      "html",
      "text",
      "text-summary"
    ],
    "coverageThreshold": {
      "global": {
        "branches": 100,
        "functions": 100,
        "lines": 100,
        "statements": 100
      }
    },
    "moduleFileExtensions": [
      "ts",
      "js",
      "json"
    ],
    "reporters": [
      "jest-html-reporter",
      "jest-spec-reporter",
      "jest-junit"
    ],
    "transform": {
      "\\.ts$": "ts-jest"
    },
    "testRegex": "/src/.*\\.spec\\.ts$"
  },
  "author": "Gregor Anders <gregor.anders@gmail.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/gregoranders/ts-jhu-covid19/issues"
  },
  "homepage": "https://gregoranders.github.io/ts-jhu-covid19/",
  "dependencies": {
    "@gregoranders/csv": "0.0.13"
  },
  "devDependencies": {
    "@commitlint/cli": "18.2.0",
    "@commitlint/config-conventional": "18.1.0",
    "@microsoft/api-documenter": "7.23.9",
    "@microsoft/api-extractor": "7.38.0",
    "@types/jest": "29.5.6",
    "@typescript-eslint/eslint-plugin": "6.9.0",
    "@typescript-eslint/parser": "6.9.0",
    "conventional-changelog-cli": "4.1.0",
    "cpx": "1.5.0",
    "cross-env": "7.0.3",
    "eslint": "8.52.0",
    "eslint-config-prettier": "9.0.0",
    "eslint-plugin-jest": "27.6.0",
    "eslint-plugin-prettier": "5.0.1",
    "eslint-plugin-unicorn": "48.0.1",
    "generate-changelog": "1.8.0",
    "husky": "8.0.3",
    "jest": "29.7.0",
    "jest-cli": "29.7.0",
    "jest-html-reporter": "3.10.2",
    "jest-junit": "16.0.0",
    "jest-spec-reporter": "1.0.19",
    "lint-staged": "15.0.2",
    "markdownlint": "0.31.1",
    "markdownlint-cli": "0.37.0",
    "prettier": "3.0.3",
    "rimraf": "5.0.5",
    "ts-jest": "29.1.1",
    "ts-node": "10.9.1",
    "typescript": "5.2.2"
  }
}