Initial Commit
This commit is contained in:
108
packages/media/audio/audio-analysis-spectrum/package.json
Normal file
108
packages/media/audio/audio-analysis-spectrum/package.json
Normal file
@@ -0,0 +1,108 @@
|
||||
{
|
||||
"name": "@suaveplan/audio-analysis-spectrum",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"description": "Universal spectral analysis: real FFT, Hann/Hamming/Blackman windows, mel filterbank, DCT-II, SpectrumAnalyzer/Spectrogram/MFCC analysis ops with OTel instrumentation. Zero browser or Node dependencies.",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"./analyzer/spectrum-analyzer": {
|
||||
"import": {
|
||||
"types": "./dist/analyzer/spectrum-analyzer.d.ts",
|
||||
"default": "./dist/analyzer/spectrum-analyzer.js"
|
||||
}
|
||||
},
|
||||
"./analyzer/spectrogram": {
|
||||
"import": {
|
||||
"types": "./dist/analyzer/spectrogram.d.ts",
|
||||
"default": "./dist/analyzer/spectrogram.js"
|
||||
}
|
||||
},
|
||||
"./analyzer/mfcc": {
|
||||
"import": {
|
||||
"types": "./dist/analyzer/mfcc.d.ts",
|
||||
"default": "./dist/analyzer/mfcc.js"
|
||||
}
|
||||
},
|
||||
"./algorithms/fft": {
|
||||
"import": {
|
||||
"types": "./dist/algorithms/fft.d.ts",
|
||||
"default": "./dist/algorithms/fft.js"
|
||||
}
|
||||
},
|
||||
"./algorithms/window": {
|
||||
"import": {
|
||||
"types": "./dist/algorithms/window.d.ts",
|
||||
"default": "./dist/algorithms/window.js"
|
||||
}
|
||||
},
|
||||
"./algorithms/mel-scale": {
|
||||
"import": {
|
||||
"types": "./dist/algorithms/mel-scale.d.ts",
|
||||
"default": "./dist/algorithms/mel-scale.js"
|
||||
}
|
||||
},
|
||||
"./algorithms/dct": {
|
||||
"import": {
|
||||
"types": "./dist/algorithms/dct.d.ts",
|
||||
"default": "./dist/algorithms/dct.js"
|
||||
}
|
||||
},
|
||||
"./error-codes": {
|
||||
"import": {
|
||||
"types": "./dist/error-codes/index.d.ts",
|
||||
"default": "./dist/error-codes/index.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"test": "vitest run --passWithNoTests",
|
||||
"test:watch": "vitest",
|
||||
"test:coverage": "vitest run --coverage --passWithNoTests",
|
||||
"lint": "bunx biome check src/",
|
||||
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/",
|
||||
"format": "bunx biome format --write --max-diagnostics 500 src/",
|
||||
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/",
|
||||
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
||||
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@suaveplan/audio-core": "workspace:^",
|
||||
"@suaveplan/error": "workspace:^",
|
||||
"@suaveplan/types": "workspace:^",
|
||||
"@opentelemetry/api": "catalog:observability",
|
||||
"tslib": "catalog:build",
|
||||
"zod": "catalog:forms"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@suaveplan/testing": "workspace:^",
|
||||
"@types/node": "catalog:",
|
||||
"@vitest/coverage-istanbul": "catalog:testing",
|
||||
"fast-check": "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",
|
||||
"README.md"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user