-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
113 lines (113 loc) · 2.84 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "mediaplex",
"version": "1.0.0-dev.0",
"description": "Media processing library for Node.js",
"main": "index.js",
"browser": "browser.js",
"repository": "[email protected]:androzdev/mediaplex.git",
"license": "MIT",
"files": [
"index.d.ts",
"index.js",
"browser.js"
],
"napi": {
"binaryName": "mediaplex",
"targets": [
"x86_64-pc-windows-msvc",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-gnu",
"i686-pc-windows-msvc",
"armv7-unknown-linux-gnueabihf",
"aarch64-apple-darwin",
"aarch64-linux-android",
"x86_64-unknown-freebsd",
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc",
"armv7-linux-androideabi"
]
},
"types": "index.d.ts",
"engines": {
"node": ">= 10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"artifacts": "napi artifacts",
"bench:encoder": "node benchmark/encoder.mjs",
"bench:decoder": "node benchmark/decoder.mjs",
"bench": "run-s bench:encoder bench:decoder",
"build": "napi build --platform --release --dts js-binding.d.ts --js js-binding.js",
"build:debug": "napi build --platform --dts js-binding.d.ts --js js-binding.js",
"format": "run-p format:prettier format:rs format:toml",
"format:prettier": "prettier . -w",
"format:toml": "taplo format",
"format:rs": "cargo fmt",
"lint": "oxlint .",
"prepublishOnly": "napi pre-publish -t npm",
"test": "ava",
"version": "napi version"
},
"devDependencies": {
"@discordjs/opus": "^0.9.0",
"@evan/opus": "^1.0.3",
"@evan/wasm": "^0.0.95",
"@napi-rs/cli": "^3.0.0-alpha.54",
"@napi-rs/lzma": "^1.3.0",
"@swc-node/register": "^1.9.0",
"@swc/core": "^1.4.17",
"@taplo/cli": "^0.7.0",
"@types/node": "^20.12.7",
"@types/tar": "^6",
"ava": "^6.1.2",
"chalk": "^5.3.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"mitata": "^0.1.11",
"npm-run-all2": "^6.1.2",
"opusscript": "^0.1.1",
"oxlint": "^0.3.1",
"prettier": "^3.2.5",
"typescript": "^5.4.5"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"eslint -c .eslintrc.yml --fix"
],
"*.@(js|ts|tsx|yml|yaml|md|json)": [
"prettier --write"
],
"*.toml": [
"taplo format"
]
},
"ava": {
"require": [
"@swc-node/register"
],
"extensions": [
"ts"
],
"timeout": "2m",
"workerThreads": false,
"environmentVariables": {
"TS_NODE_PROJECT": "./tsconfig.json"
}
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always"
},
"packageManager": "[email protected]",
"resolutions": {
"mediaplex": "workspace:*"
}
}