gregoranders/nodejs-project-info

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "nodejs-project-info",
  "version": "0.0.21",
  "description": "NodeJS Project Information",
  "main": "./dist/index.js",
  "scripts": {
    "clear": "rimraf ./node_modules ./package-lock.json",
    "prestart": "npm run build",
    "start": "node ./dist/index.js",
    "prebuild": "eslint ./src/**/*.ts && tsc --noEmit --project ./",
    "build": "cross-env NODE_ENV=production ncc build ./src/index.ts -m -o ./dist/",
    "lint": "markdownlint --config .mdlrc . && remark --frail --rc-path .remarkrc-full.mjs .",
    "pretest": "rimraf --glob ./test/*",
    "test": "jest",
    "watch": "tsc -w --project ./",
    "prepare": "husky install",
    "changelog": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -s",
    "codeclimate": "docker run --interactive --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"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/gregoranders/nodejs-project-info.git"
  },
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "github",
    "action",
    "jest",
    "eslint",
    "typescript"
  ],
  "lint-staged": {
    "*.ts": [
      "eslint --ext .ts ./src"
    ],
    "*.md": [
      "markdownlint --config .mdlrc"
    ]
  },
  "jest-html-reporter": {
    "pageTitle": "nodejs-project-info",
    "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/**",
      "!<rootDir>/src/**/index.ts",
      "!<rootDir>/src/fixtures/**"
    ],
    "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/nodejs-project-info/issues"
  },
  "homepage": "https://gregoranders.github.io/nodejs-project-info/",
  "dependencies": {
    "@actions/core": "1.10.1",
    "semver": "7.5.4"
  },
  "devDependencies": {
    "@commitlint/cli": "18.2.0",
    "@commitlint/config-conventional": "18.1.0",
    "@types/jest": "29.5.6",
    "@types/semver": "7.5.4",
    "@typescript-eslint/eslint-plugin": "6.9.0",
    "@typescript-eslint/parser": "6.9.0",
    "@vercel/ncc": "0.38.1",
    "conventional-changelog-cli": "4.1.0",
    "cross-env": "7.0.3",
    "dictionary-en": "3.2.0",
    "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",
    "remark-cli": "12.0.0",
    "remark-frontmatter": "5.0.0",
    "remark-lint": "9.1.2",
    "remark-lint-heading-whitespace": "1.0.0",
    "remark-lint-list-item-indent": "3.1.2",
    "remark-lint-no-dead-urls": "1.1.0",
    "remark-lint-no-duplicate-headings": "3.1.2",
    "remark-lint-write-good": "1.2.0",
    "remark-preset-lint-consistent": "5.1.2",
    "remark-preset-lint-markdown-style-guide": "5.1.3",
    "remark-preset-lint-recommended": "6.1.3",
    "remark-retext": "6.0.0",
    "remark-validate-links": "13.0.0",
    "retext-contractions": "6.0.0",
    "retext-diacritics": "5.0.0",
    "retext-english": "5.0.0",
    "retext-equality": "7.0.0",
    "retext-indefinite-article": "5.0.0",
    "retext-passive": "5.0.0",
    "retext-profanities": "8.0.0",
    "retext-quotes": "6.0.0",
    "retext-readability": "8.0.0",
    "retext-redundant-acronyms": "5.0.0",
    "retext-repeated-words": "5.0.0",
    "retext-sentence-spacing": "6.0.0",
    "retext-spell": "6.0.0",
    "retext-syntax-urls": "4.0.0",
    "retext-usage": "0.5.0",
    "rimraf": "5.0.5",
    "ts-jest": "29.1.1",
    "typescript": "5.2.2"
  }
}