{
	"name": "@harperfast/fulltext",
	"version": "0.9.0",
	"description": "Native Tantivy full-text indexing for Node.js",
	"type": "module",
	"exports": {
		"./native": {
			"types": "./dist/native.d.ts",
			"import": "./dist/native.js"
		}
	},
	"files": [
		"dist/",
		"README.md",
		"LICENSE",
		"CONTRIBUTING.md",
		"dependencies.md",
		"docs/",
		"examples/"
	],
	"napi": {
		"binaryName": "fulltext",
		"targets": [
			"x86_64-unknown-linux-gnu",
			"aarch64-unknown-linux-gnu",
			"aarch64-apple-darwin",
			"x86_64-pc-windows-msvc"
		]
	},
	"scripts": {
		"build": "npm run build:typescript && npm run build:native",
		"build:debug": "npm run build:typescript && napi build --platform --no-js --dts ts/addon.d.ts --features node-api",
		"build:native": "napi build --platform --no-js --dts ts/addon.d.ts --release --features node-api",
		"build:test-native": "napi build --platform --no-js --dts ts/addon.d.ts --features test-panic",
		"build:test-native:release": "napi build --platform --no-js --dts ts/addon.d.ts --release --features test-panic",
		"build:typescript": "npm run clean:typescript && tsc -p tsconfig.json",
		"clean:typescript": "node --input-type=module --eval \"import { rmSync } from 'node:fs'; rmSync('dist', { recursive: true, force: true })\"",
		"benchmark:native": "npm run build && node scripts/run-local.mjs benchmarks/native.mjs",
		"benchmark:metadata": "npm run build && node scripts/run-local.mjs benchmarks/metadata.mjs",
		"benchmark:metadata:workload": "node scripts/run-local.mjs benchmarks/metadata-workload.mjs",
		"qualify:metadata:harper": "node scripts/qualify-harper-metadata.mjs",
		"benchmark:metadata:smoke": "node scripts/run-local.mjs benchmarks/metadata.mjs --smoke",
		"benchmark:multi-index": "npm run build && node scripts/run-local.mjs benchmarks/multi-index.mjs",
		"benchmark:inspect": "npm run build && node scripts/run-local.mjs benchmarks/inspect.mjs",
		"benchmark:inspect:smoke": "node scripts/run-local.mjs benchmarks/inspect.mjs --smoke",
		"benchmark:query-scoring": "npm run build && node scripts/run-local.mjs benchmarks/query-scoring.mjs",
		"benchmark:query-controls": "npm run build && node scripts/run-local.mjs benchmarks/query-controls.mjs",
		"examples:smoke": "node scripts/run-local.mjs examples/basic.mjs && node scripts/run-local.mjs examples/query-modes.mjs && node scripts/run-local.mjs examples/catalog-search.mjs && node scripts/run-local.mjs examples/metadata-search.mjs && node scripts/run-local.mjs examples/structured-filters.mjs && node scripts/run-local.mjs examples/checkpoint-recovery.mjs && node scripts/run-local.mjs examples/highlighting.mjs && node scripts/run-local.mjs examples/multi-index.mjs && node scripts/run-local.mjs examples/reset-rebuild.mjs && node scripts/run-local.mjs examples/observability.mjs",
		"benchmark:smoke": "node scripts/run-local.mjs benchmarks/native.mjs --smoke --mutation-driver logical && node scripts/run-local.mjs benchmarks/native.mjs --smoke --mutation-driver low-level",
		"check": "npm run format:check && npm run lint && npm run test",
		"format": "prettier --write . && cargo fmt",
		"format:check": "prettier --check . && cargo fmt --check",
		"lint": "tsc -p tsconfig.json --noEmit && cargo clippy --locked --all-targets --all-features -- -D warnings",
		"prepack": "npm run build:typescript && npm run verify:package-artifacts",
		"test": "cargo test --locked --all-features && npm run test:node",
		"test:rust": "cargo test --locked --all-features",
		"test:node": "npm run build:test-native && npm run build:typescript && node scripts/run-node-tests.mjs test && npm run build:native && node scripts/run-node-tests.mjs release",
		"test:optimized-native": "npm run build:test-native:release && npm run build:typescript && node scripts/run-node-tests.mjs optimized",
		"verify:package-artifacts": "node scripts/verify-package-artifacts.mjs",
		"benchmark:observability": "node benchmarks/observability.mjs"
	},
	"engines": {
		"node": "^22.18.0 || >=24.0.0"
	},
	"keywords": [
		"tantivy",
		"full-text-search",
		"node-api"
	],
	"license": "Apache-2.0",
	"repository": {
		"type": "git",
		"url": "git+https://github.com/HarperFast/fulltext.git"
	},
	"optionalDependencies": {
		"@harperfast/fulltext-darwin-arm64": "0.9.0",
		"@harperfast/fulltext-linux-arm64-gnu": "0.9.0",
		"@harperfast/fulltext-linux-x64-gnu": "0.9.0",
		"@harperfast/fulltext-win32-x64-msvc": "0.9.0"
	},
	"devDependencies": {
		"@napi-rs/cli": "3.10.5",
		"@types/node": "24.10.0",
		"prettier": "3.6.2",
		"typescript": "5.9.3"
	}
}
