-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 3.06 KB
/
package.json
File metadata and controls
131 lines (131 loc) · 3.06 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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "@touchifyapp/cpvc",
"version": "0.1.3",
"description": "Template project for writing node package with napi-rs",
"main": "index.js",
"types": "index.d.ts",
"repository": {
"url": "git+ssh://git@github.com/touchifyapp/node-cpvc.git",
"type": "git"
},
"license": "MIT",
"keywords": [
"system",
"volume",
"audio",
"mute",
"control",
"Rust",
"node-addon",
"node-addon-api"
],
"files": [
"index.d.ts",
"index.js"
],
"napi": {
"binaryName": "cpvc",
"targets": [
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-gnu",
"i686-pc-windows-msvc",
"armv7-unknown-linux-gnueabihf",
"aarch64-pc-windows-msvc"
],
"unavailable_targets": [
"x86_64-unknown-freebsd",
"aarch64-unknown-linux-musl"
]
},
"engines": {
"node": ">= 6.14.2 < 7 || >= 8.11.2 < 9 || >= 9.11.0 < 10 || >= 10.0.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"artifacts": "napi artifacts",
"bench": "node --import @oxc-node/core/register benchmark/bench.ts",
"build": "napi build --platform --release",
"build:debug": "napi build --platform",
"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 prepublish -t npm",
"test": "ava",
"preversion": "npm run lint && cargo clippy && npm run build && npm test && git add .",
"version": "napi version",
"postversion": "git push && git push --tags"
},
"devDependencies": {
"@emnapi/core": "^1.5.0",
"@emnapi/runtime": "^1.5.0",
"@napi-rs/cli": "^3.2.0",
"@napi-rs/wasm-runtime": "^1.0.4",
"@oxc-node/core": "^0.0.35",
"@taplo/cli": "^0.7.0",
"@tybys/wasm-util": "^0.10.0",
"ava": "^7.0.0",
"chalk": "^5.6.2",
"emnapi": "^1.5.0",
"husky": "^9.1.7",
"lint-staged": "^16.1.6",
"npm-run-all2": "^8.0.4",
"oxlint": "^1.14.0",
"prettier": "^3.6.2",
"tinybench": "^6.0.0",
"typescript": "^5.9.2"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"oxlint --fix"
],
"*.@(js|ts|tsx|yml|yaml|md|json)": [
"prettier --write"
],
"*.toml": [
"taplo format"
]
},
"ava": {
"extensions": {
"ts": "module"
},
"timeout": "2m",
"workerThreads": false,
"environmentVariables": {
"TS_NODE_PROJECT": "./tsconfig.json"
},
"nodeArguments": [
"--import",
"@oxc-node/core/register"
]
},
"prettier": {
"printWidth": 120,
"tabWidth": 4,
"semi": true,
"trailingComma": "all",
"arrowParens": "always",
"overrides": [
{
"files": [
"*.json",
"*.yaml",
"*.toml"
],
"options": {
"tabWidth": 2
}
}
]
},
"packageManager": "pnpm@10.32.1"
}