79 lines
2.9 KiB
JSON
79 lines
2.9 KiB
JSON
{
|
|
"name": "@suaveplan/audio-fingerprint",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"description": "Python-tier high-accuracy audio fingerprinting service (librosa chromagram + scipy 2D peak detection + constellation hashing + Jaccard matching), exposed as a FastAPI REST API, with a typed TypeScript HTTP client (PythonAudioService) for browser/Node consumers.",
|
|
"license": "MIT",
|
|
"author": "Suaveplan Team",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"./client": {
|
|
"import": {
|
|
"types": "./dist/client/index.d.ts",
|
|
"default": "./dist/client/index.js"
|
|
}
|
|
},
|
|
"./client/python-audio-service": {
|
|
"import": {
|
|
"types": "./dist/client/python-audio-service.d.ts",
|
|
"default": "./dist/client/python-audio-service.js"
|
|
}
|
|
},
|
|
"./types": {
|
|
"import": {
|
|
"types": "./dist/types/index.d.ts",
|
|
"default": "./dist/types/index.js"
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"test": "vitest run --passWithNoTests",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage --passWithNoTests",
|
|
"test:python": "micromamba run -n suaveplan-audio-fingerprint pytest",
|
|
"test:python:install": "micromamba create -f environment.yml -y",
|
|
"lint": "bunx biome check src/ tests/",
|
|
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/ tests/",
|
|
"format": "bunx biome format --write --max-diagnostics 500 src/ tests/",
|
|
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/ tests/",
|
|
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
|
"docs:check": "bun run ../../../../scripts/docs-check.ts .",
|
|
"dev": "micromamba run -n suaveplan-audio-fingerprint uvicorn src.api.app:app --reload --host 0.0.0.0 --port 8000",
|
|
"start": "micromamba run -n suaveplan-audio-fingerprint uvicorn src.api.app:app --host 0.0.0.0 --port 8000"
|
|
},
|
|
"dependencies": {
|
|
"tslib": "catalog:build"
|
|
},
|
|
"devDependencies": {
|
|
"@suaveplan/testing": "workspace:^",
|
|
"@types/node": "catalog:",
|
|
"@vitest/coverage-istanbul": "catalog:testing",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:build",
|
|
"vite-plugin-dts": "catalog:build",
|
|
"vitest": "catalog:testing"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://npmjs.fq.io/",
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src",
|
|
"environment.yml",
|
|
"pyproject.toml",
|
|
"README.md"
|
|
]
|
|
}
|