WFCD/warframe-worldstate-data

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "warframe-worldstate-data",
  "version": "1.0.5",
  "description": "Warframe data for use with warframe-worldstate-parser",
  "keywords": [
    "warframe-worldstate",
    "javascript",
    "warframe"
  ],
  "homepage": "https://github.com/wfcd/warframe-worldstate-data#readme",
  "bugs": {
    "url": "https://github.com/wfcd/warframe-worldstate-data/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/wfcd/warframe-worldstate-data.git"
  },
  "license": "MIT",
  "author": "tobitenno",
  "contributors": [
    "tobitenno",
    "cagatayldzz",
    "scruffyrules",
    "nspacestd",
    "dsinn",
    "msaracevic",
    "Markcreator",
    "delfunua",
    "esunder",
    "dbarbuzzi",
    "ViriatoLusitano",
    "iPeer",
    "IhToN",
    "OrcusCZ",
    "DaxterSpeed",
    "sgkoishi",
    "Hikoaki",
    "Tithen-Firion"
  ],
  "type": "module",
  "exports": {
    ".": "./exports.js",
    "./utilities": "./tools/utilities.js"
  },
  "main": "exports.js",
  "directories": {
    "test": "test"
  },
  "scripts": {
    "coverage": "npm test && c8 report --reporter=text-lcov | coveralls",
    "lint": "eslint --ignore-path .gitignore .",
    "lint:fix": "eslint --ignore-path .gitignore . --fix",
    "prepare": "husky && npx install-peerdeps @wfcd/eslint-config@latest -S",
    "sort": "node tools/sort_languages.py",
    "test": "c8 mocha",
    "validate": "npm run lint:fix && npm run test && git add -u ."
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ],
    "rules": {
      "body-max-line-length": [0]
    }
  },
  "lint-staged": {
    "*.js": [
      "eslint --cache --fix",
      "npm test"
    ],
    "package*.json": [
      "npx sort-package-json",
      "npm dedupe"
    ],
    "*.{yml,json,yaml},!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": {
    "parser": "@babel/eslint-parser",
    "parserOptions": {
      "ecmaFeatures": {
        "modules": true
      },
      "ecmaVersion": 6,
      "sourceType": "module"
    },
    "extends": "@wfcd/eslint-config/esm"
  },
  "eslintIgnore": [
    ".github/**",
    "docs/**",
    "data/**"
  ],
  "release": {
    "branch": "master"
  },
  "mocha": {
    "spec": "test/**/*.spec.js"
  },
  "c8": {
    "exclude": [
      "test/**"
    ],
    "reporter": [
      "lcov",
      "text"
    ],
    "skip-full": true
  },
  "devDependencies": {
    "@commitlint/cli": "^19.2.1",
    "@commitlint/config-conventional": "^19.1.0",
    "@types/chai": "^5.0.0",
    "@types/chai-json-schema": "^1.4.9",
    "c8": "^10.1.2",
    "chai": "^5.0.3",
    "chai-json": "^1.0.0",
    "chai-json-schema-ajv": "^5.2.4",
    "coveralls": "^3.1.1",
    "husky": "^9.0.11",
    "lint-staged": "^15.2.2",
    "mocha": "^10.3.0",
    "prettier": "^3.2.5",
    "sinon": "^19.0.2",
    "sinon-chai": "^4.0.0"
  },
  "engines": {
    "node": ">=18.19.0"
  },
  "overrides": {
    "sinon-chai": {
      "chai": "^5.0.3"
    }
  }
}