WFCD/warframe-nexus-query

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "warframe-nexus-query",
  "version": "0.0.0-dev",
  "description": "Query prices form nexus-stats.com and warframe.market.",
  "keywords": [
    "warframe",
    "trading",
    "warframe-nexus",
    "warframe-trading"
  ],
  "homepage": "https://github.com/WFCD/warframe-nexus-query#README",
  "bugs": {
    "url": "https://github.com/WFCD/warframe-nexus-query/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/WFCD/warframe-nexus-query.git"
  },
  "license": "Apache-2.0",
  "author": "tobitenno",
  "type": "module",
  "main": "index.js",
  "directories": {
    "test": "test"
  },
  "files": [
    "lib",
    "index.js",
    "basedir.js"
  ],
  "scripts": {
    "build:docs": "jsdoc -c jsdoc-config.json -d docs",
    "coverage": "npm test && c8 report --reporter=text-lcov | coveralls",
    "lint": "eslint index.js lib/ test/",
    "lint:fix": "eslint index.js lib/ test/ --fix",
    "prepare": "husky && npx install-peerdeps @wfcd/eslint-config@latest -S",
    "test": "c8 mocha"
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ],
    "rules": {
      "body-max-line-length": [0]
    }
  },
  "lint-staged": {
    "*.js": [
      "eslint --cache --fix"
    ],
    "package*.json": [
      "prettier --write",
      "npm dedupe",
      "npx sort-package-json"
    ],
    "*.{json,yaml,yml},!package*.json": [
      "prettier --write"
    ]
  },
  "babel": {
    "plugins": [
      "@babel/plugin-transform-class-properties",
      "@babel/plugin-transform-private-methods"
    ],
    "presets": [
      "@babel/preset-env"
    ]
  },
  "prettier": "@wfcd/eslint-config/prettier",
  "eslintConfig": {
    "extends": "@wfcd/eslint-config/esm",
    "rules": {
      "no-underscore-dangle": [
        "error",
        {
          "allow": [
            "__basedir"
          ]
        }
      ]
    }
  },
  "eslintIgnore": [
    ".github/**",
    "docs/**",
    "resources/**",
    "types/**"
  ],
  "release": {
    "branch": "master"
  },
  "mocha": {
    "bail": true,
    "exit": true,
    "slow": 10000,
    "spec": "test/test.js",
    "timeout": 30000
  },
  "c8": {
    "exclude": [
      "test/*",
      "lib/nexus/*"
    ],
    "reporter": [
      "lcov",
      "text"
    ],
    "skip-full": true
  },
  "dependencies": {
    "get-image-colors": "^4.0.1",
    "image-downloader": "^4.0.2",
    "json-fetch-cache": "^1.2.6",
    "json-query": "^2.2.2",
    "node-md-config": "^2.0.1",
    "numeral": "^2.0.6"
  },
  "devDependencies": {
    "@commitlint/cli": "^19.2.1",
    "@commitlint/config-conventional": "^19.1.0",
    "@types/json-query": "^2.2.0",
    "@wfcd/eslint-config": "^1.6.1",
    "c8": "^10.1.2",
    "chai": "^5.0.3",
    "coveralls": "^3.1.1",
    "husky": "^9.0.11",
    "install-peerdeps": "^3.0.3",
    "lint-staged": "^15.2.2",
    "mocha": "^10.2.0",
    "prettier": "^3.2.5"
  },
  "engines": {
    "node": ">=18",
    "npm": ">=8.19"
  }
}