{ "name": "ml-kmeans", "version": "7.0.1", "description": "K-Means clustering", "type": "module", "exports": { ".": "./lib/index.js" }, "files": [ "src", "lib" ], "scripts": { "check-types": "tsc --noEmit", "clean": "rimraf coverage lib", "eslint": "eslint src", "eslint-fix": "eslint src --fix", "prepack": "npm run tsc", "prettier": "prettier --check src", "prettier-write": "prettier --write src", "test": "npm run test-only && npm run check-types && npm run eslint && npm run prettier", "test-only": "vitest run --coverage", "tsc": "npm run clean && npm run tsc-build", "tsc-build": "tsc --project tsconfig.build.json" }, "repository": { "type": "git", "url": "https://github.com/mljs/kmeans" }, "keywords": [ "cluster", "kmeans", "data", "mining", "datamining", "machine", "learning" ], "author": "Miguel Asencio (https://github.com/maasencioh)", "license": "MIT", "bugs": { "url": "https://github.com/mljs/kmeans/issues" }, "homepage": "https://github.com/mljs/kmeans", "dependencies": { "ml-distance-euclidean": "^3.0.1", "ml-matrix": "^6.12.2", "ml-nearest-vector": "^3.0.1", "ml-random": "^2.0.0", "ml-spectra-processing": "^14.29.0" }, "devDependencies": { "@types/node": "^25.9.2", "@vitest/coverage-v8": "^4.1.8", "@zakodium/tsconfig": "^1.0.5", "eslint": "^9.39.1", "eslint-config-cheminfo-typescript": "^22.0.0", "ml-dataset-iris": "^1.2.1", "prettier": "^3.8.3", "rimraf": "^6.1.3", "typescript": "^6.0.3", "vitest": "^4.1.8" } }