@libraz/libsonare 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
package/package.json ADDED
@@ -0,0 +1,82 @@
1
+ {
2
+ "name": "@libraz/libsonare",
3
+ "version": "1.0.0",
4
+ "type": "module",
5
+ "packageManager": "yarn@4.12.0",
6
+ "description": "Audio analysis library for music information retrieval",
7
+ "main": "dist/index.js",
8
+ "types": "dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
13
+ },
14
+ "./wasm": "./dist/sonare.wasm",
15
+ "./package.json": "./package.json"
16
+ },
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "sideEffects": false,
21
+ "scripts": {
22
+ "prepare": "simple-git-hooks || true",
23
+ "build": "yarn build:wasm && yarn build:js",
24
+ "build:wasm": "emcmake cmake -B build-wasm -DBUILD_WASM=ON && cmake --build build-wasm",
25
+ "build:js": "tsc",
26
+ "clean": "rm -rf dist build-wasm",
27
+ "lint": "biome check js/ tests/wasm/ bindings/node/src/ bindings/node/tests/",
28
+ "lint:fix": "biome check --write js/ tests/wasm/ bindings/node/src/ bindings/node/tests/",
29
+ "format": "biome format --write js/ tests/wasm/ bindings/node/src/ bindings/node/tests/",
30
+ "test": "vitest run",
31
+ "test:watch": "vitest",
32
+ "prepublishOnly": "yarn clean && yarn build && yarn lint && yarn test",
33
+ "prepack": "cp README.md .readme-backup && cp README.npm.md README.md",
34
+ "postpack": "mv .readme-backup README.md"
35
+ },
36
+ "keywords": [
37
+ "audio",
38
+ "music",
39
+ "analysis",
40
+ "mir",
41
+ "bpm",
42
+ "key",
43
+ "tempo",
44
+ "wasm",
45
+ "webassembly"
46
+ ],
47
+ "author": "libraz <libraz@libraz.net>",
48
+ "license": "Apache-2.0",
49
+ "repository": {
50
+ "type": "git",
51
+ "url": "git+https://github.com/libraz/libsonare.git"
52
+ },
53
+ "bugs": {
54
+ "url": "https://github.com/libraz/libsonare/issues"
55
+ },
56
+ "homepage": "https://github.com/libraz/libsonare#readme",
57
+ "engines": {
58
+ "node": ">=18.0.0"
59
+ },
60
+ "devDependencies": {
61
+ "@biomejs/biome": "^2.4.8",
62
+ "lint-staged": "^16.4.0",
63
+ "simple-git-hooks": "^2.13.1",
64
+ "typescript": "^6.0.2",
65
+ "vitest": "^4.1.1"
66
+ },
67
+ "volta": {
68
+ "node": "22.21.1",
69
+ "yarn": "4.12.0"
70
+ },
71
+ "simple-git-hooks": {
72
+ "pre-commit": "yarn lint-staged"
73
+ },
74
+ "lint-staged": {
75
+ "{js,tests/wasm}/**/*.{ts,js}": [
76
+ "biome check --write"
77
+ ],
78
+ "bindings/node/{src,tests}/**/*.{ts,js}": [
79
+ "biome check --write"
80
+ ]
81
+ }
82
+ }