-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.21 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "@libraz/libsonare",
"version": "1.0.2",
"type": "module",
"packageManager": "yarn@4.12.0",
"description": "Audio analysis library for music information retrieval",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./wasm": "./dist/sonare.wasm",
"./package.json": "./package.json"
},
"files": [
"dist"
],
"sideEffects": false,
"scripts": {
"prepare": "simple-git-hooks || true",
"build": "yarn build:wasm && yarn build:js",
"build:wasm": "emcmake cmake -B build-wasm -DBUILD_WASM=ON -DCMAKE_BUILD_TYPE=Release && cmake --build build-wasm",
"build:js": "tsc",
"clean": "rm -rf dist build-wasm",
"lint": "biome check js/ tests/wasm/ bindings/node/src/ bindings/node/tests/",
"lint:fix": "biome check --write js/ tests/wasm/ bindings/node/src/ bindings/node/tests/",
"format": "biome format --write js/ tests/wasm/ bindings/node/src/ bindings/node/tests/",
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "yarn clean && yarn build && yarn lint && yarn test",
"prepack": "cp README.md .readme-backup && cp README.npm.md README.md",
"postpack": "mv .readme-backup README.md"
},
"keywords": [
"audio",
"music",
"analysis",
"mir",
"bpm",
"key",
"tempo",
"wasm",
"webassembly"
],
"author": "libraz <libraz@libraz.net>",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/libraz/libsonare.git"
},
"bugs": {
"url": "https://github.com/libraz/libsonare/issues"
},
"homepage": "https://github.com/libraz/libsonare#readme",
"engines": {
"node": ">=18.0.0"
},
"devDependencies": {
"@biomejs/biome": "^2.4.8",
"lint-staged": "^16.4.0",
"simple-git-hooks": "^2.13.1",
"typescript": "^6.0.2",
"vitest": "^4.1.1"
},
"volta": {
"node": "22.21.1",
"yarn": "4.12.0"
},
"simple-git-hooks": {
"pre-commit": "yarn lint-staged"
},
"lint-staged": {
"{js,tests/wasm}/**/*.{ts,js}": [
"biome check --write"
],
"bindings/node/{src,tests}/**/*.{ts,js}": [
"biome check --write"
]
}
}