{
   "name": "naive-bayes-language-detector",
   "version": "2.0.0",
   "description": "Naive Bayes - NGram language detector",
   "main": "dist/index.js",
   "types": "dist/index.d.ts",
   "engines": {
      "node": ">=20"
   },
   "scripts": {
      "build": "rm -rf dist && tsc && mkdir -p dist/models && cp models/*.min.json dist/models/",
      "build:watch": "rm -rf dist && tsc --watch",
      "build:test": "rm -rf dist && tsc -p tsconfig.test.json",
      "test": "TS_NODE_PROJECT=tsconfig.test.json mocha --require ts-node/register --timeout 30000 --exit './test/**/*.test.ts'",
      "coverage": "nyc --reporter=lcov --reporter=text npm run test",
      "lint": "./node_modules/.bin/eslint ./src --ext .ts",
      "lint:fix": "./node_modules/.bin/eslint ./src --ext .ts --fix",
      "train": "node --max-old-space-size=2048 --expose-gc scripts/train.js",
      "train:small": "node --max-old-space-size=2048 --expose-gc scripts/train.js --size small",
      "train:medium": "node --max-old-space-size=2048 --expose-gc scripts/train.js --size medium",
      "train:large": "node --max-old-space-size=2048 --expose-gc scripts/train.js --size large",
      "download-data": "node scripts/download-data.js",
      "prepare-data": "node scripts/prepare-data.js",
      "evaluate": "node scripts/evaluate.js",
      "prepublishOnly": "npm run build",
      "prepare": "husky"
   },
   "devDependencies": {
      "@types/chai": "^4.3.16",
      "@types/mocha": "^10.0.10",
      "@types/node": "^20.19.39",
      "@typescript-eslint/eslint-plugin": "^7.13.0",
      "@typescript-eslint/parser": "^7.13.0",
      "axios": "^1.6.0",
      "chai": "^4.3.6",
      "eslint": "^8.57.0",
      "eslint-config-airbnb-base": "^15.0.0",
      "eslint-config-prettier": "^9.1.0",
      "eslint-plugin-import": "^2.29.1",
      "eslint-plugin-no-floating-promise": "^2.0.0",
      "eslint-plugin-node": "^11.1.0",
      "eslint-plugin-prettier": "^5.1.3",
      "husky": "^9.1.7",
      "lint-staged": "^16.2.7",
      "mocha": "^11.7.5",
      "nyc": "^15.1.0",
      "prettier": "^3.3.2",
      "sinon": "^21.0.1",
      "ts-node": "^10.9.2",
      "typescript": "^5.4.5"
   },
   "overrides": {
      "diff": "^8.0.3"
   },
   "files": [
      "dist"
   ],
   "author": "aaochoa",
   "license": "ISC",
   "repository": {
      "type": "git",
      "url": "git+https://github.com/aaochoa/language-detector.git"
   },
   "bugs": {
      "url": "https://github.com/aaochoa/language-detector/issues"
   },
   "homepage": "https://github.com/aaochoa/language-detector#readme",
   "exports": {
      ".": {
         "types": "./dist/index.d.ts",
         "require": "./dist/index.js",
         "default": "./dist/index.js"
      }
   },
   "keywords": [
      "language-detection",
      "naive-bayes",
      "nlp",
      "text-classification",
      "typescript"
   ],
   "lint-staged": {
      "src/**/*.ts": [
         "eslint --fix",
         "prettier --write"
      ],
      "test/**/*.ts": [
         "eslint --fix",
         "prettier --write"
      ]
   }
}
