Initial Commit
This commit is contained in:
140
packages/media/audio/audio-metadata/package.json
Normal file
140
packages/media/audio/audio-metadata/package.json
Normal file
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"name": "@suaveplan/audio-metadata",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"description": "Universal audio metadata extractor: parses ID3v1/v2, MP4/M4A atoms, FLAC Vorbis comments, Ogg, WAV, AIFF, and returns a normalised Track record.",
|
||||
"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"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
}
|
||||
},
|
||||
"./parsers/id3v2": {
|
||||
"import": {
|
||||
"types": "./dist/parsers/id3v2/id3v2.d.ts",
|
||||
"default": "./dist/parsers/id3v2/id3v2.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/parsers/id3v2/id3v2.d.ts",
|
||||
"default": "./dist/parsers/id3v2/id3v2.js"
|
||||
}
|
||||
},
|
||||
"./parsers/id3v1": {
|
||||
"import": {
|
||||
"types": "./dist/parsers/id3v1/id3v1.d.ts",
|
||||
"default": "./dist/parsers/id3v1/id3v1.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/parsers/id3v1/id3v1.d.ts",
|
||||
"default": "./dist/parsers/id3v1/id3v1.js"
|
||||
}
|
||||
},
|
||||
"./parsers/mp4-atom": {
|
||||
"import": {
|
||||
"types": "./dist/parsers/mp4-atom/mp4-atom.d.ts",
|
||||
"default": "./dist/parsers/mp4-atom/mp4-atom.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/parsers/mp4-atom/mp4-atom.d.ts",
|
||||
"default": "./dist/parsers/mp4-atom/mp4-atom.js"
|
||||
}
|
||||
},
|
||||
"./parsers/flac-vorbis": {
|
||||
"import": {
|
||||
"types": "./dist/parsers/flac-vorbis/flac-vorbis.d.ts",
|
||||
"default": "./dist/parsers/flac-vorbis/flac-vorbis.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/parsers/flac-vorbis/flac-vorbis.d.ts",
|
||||
"default": "./dist/parsers/flac-vorbis/flac-vorbis.js"
|
||||
}
|
||||
},
|
||||
"./parsers/ogg-vorbis": {
|
||||
"import": {
|
||||
"types": "./dist/parsers/ogg-vorbis/ogg-vorbis.d.ts",
|
||||
"default": "./dist/parsers/ogg-vorbis/ogg-vorbis.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/parsers/ogg-vorbis/ogg-vorbis.d.ts",
|
||||
"default": "./dist/parsers/ogg-vorbis/ogg-vorbis.js"
|
||||
}
|
||||
},
|
||||
"./parsers/wav-riff": {
|
||||
"import": {
|
||||
"types": "./dist/parsers/wav-riff/wav-riff.d.ts",
|
||||
"default": "./dist/parsers/wav-riff/wav-riff.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/parsers/wav-riff/wav-riff.d.ts",
|
||||
"default": "./dist/parsers/wav-riff/wav-riff.js"
|
||||
}
|
||||
},
|
||||
"./parsers/aiff-id3": {
|
||||
"import": {
|
||||
"types": "./dist/parsers/aiff-id3/aiff-id3.d.ts",
|
||||
"default": "./dist/parsers/aiff-id3/aiff-id3.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/parsers/aiff-id3/aiff-id3.d.ts",
|
||||
"default": "./dist/parsers/aiff-id3/aiff-id3.js"
|
||||
}
|
||||
},
|
||||
"./errors": {
|
||||
"import": {
|
||||
"types": "./dist/errors/metadata-error.d.ts",
|
||||
"default": "./dist/errors/metadata-error.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/errors/metadata-error.d.ts",
|
||||
"default": "./dist/errors/metadata-error.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": {
|
||||
"@opentelemetry/api": "catalog:observability",
|
||||
"tslib": "catalog:build",
|
||||
"zod": "catalog:forms"
|
||||
},
|
||||
"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",
|
||||
"README.md"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user