-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.47 KB
/
package.json
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
{
"name": "@kotobamedia/audio-snippet-detector",
"version": "0.0.1",
"description": "",
"repository": {
"type": "git",
"url": "https://github.com/KotobaMedia/audio-snippet-detector.git"
},
"homepage": "https://github.com/KotobaMedia/audio-snippet-detector",
"bugs": "https://github.com/KotobaMedia/audio-snippet-detector/issues",
"main": "dist/index.cjs",
"files": [
"README.md",
"LICENSE",
"dist/**/*.?({c,m}){t,j}s",
"dist/**/*.map"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.mts",
"default": "./dist/index.cjs"
}
}
},
"scripts": {
"test": "npm run test:node && npm run test:cargo",
"test:cargo": "cargo test",
"test:node": "tsc --noEmit && glob -c 'node --import tsx' './src/**/*.test.ts'",
"clean": "shx rm -r ./dist ./platforms/**/index.node ./index.node; cargo clean",
"tsc-build": "npm run clean; tsc --project tsconfig.dist.json",
"cargo-build": "npm run tsc-build && cargo build --message-format=json-render-diagnostics > cargo.log",
"cross-build": "npm run tsc-build && cross build --message-format=json-render-diagnostics > cross.log",
"postcargo-build": "neon dist < cargo.log",
"postcross-build": "neon dist -m /target < cross.log",
"debug": "npm run cargo-build --",
"postdebug": "neon dist --debug < cargo.log",
"build": "npm run cargo-build -- --release",
"cross": "npm run cross-build -- --release",
"prepack": "npm run tsc-build && neon update",
"version": "neon bump --binaries platforms && git add .",
"release": "gh workflow run release.yml -f dryrun=false -f version=patch",
"dryrun": "gh workflow run publish.yml -f dryrun=true"
},
"author": "",
"license": "MIT",
"neon": {
"type": "library",
"org": "@kotobamedia",
"prefix": "asd-",
"platforms": [
"darwin-arm64",
"linux-x64-gnu",
"linux-arm64-gnu"
],
"load": "./src/load.cts"
},
"devDependencies": {
"@neon-rs/cli": "0.1.82",
"@tsconfig/node22": "^22.0.0",
"@types/node": "^22.10.5",
"glob": "^11.0.0",
"shx": "^0.3.4",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
},
"dependencies": {
"@neon-rs/load": "^0.1.82"
},
"optionalDependencies": {
"@kotobamedia/asd-darwin-arm64": "0.0.1",
"@kotobamedia/asd-linux-arm64-gnu": "0.0.1",
"@kotobamedia/asd-linux-x64-gnu": "0.0.1"
}
}