Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.28 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.28 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
{
"name": "@camera.ui/rust-decoder",
"version": "0.0.15",
"description": "Native Rust pixel-format conversion, resize and crop for the camera.ui ecosystem",
"author": "seydx (https://github.com/seydx)",
"main": "index.js",
"types": "index.d.ts",
"type": "commonjs",
"napi": {
"binaryName": "rust-decoder",
"targets": [
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"x86_64-unknown-freebsd",
"aarch64-apple-darwin",
"aarch64-pc-windows-msvc",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"riscv64gc-unknown-linux-gnu"
]
},
"scripts": {
"audit": "npm audit fix --min-release-age=0",
"artifacts": "napi artifacts",
"build:debug": "napi build --platform",
"build": "napi build --platform --release",
"clean:cargo": "cargo clean",
"clean": "cargo clean && rimraf --glob *.node",
"format": "prettier --write 'src/' --ignore-unknown --no-error-on-unmatched-pattern && cargo fmt",
"install-updates": "npm i --save",
"lint": "cargo clippy --fix --allow-dirty && eslint --fix .",
"prepublishOnly": "napi prepublish --no-gh-release",
"release": "bash scripts/release.sh",
"universal": "napi universalize",
"update": "updates -M npm,pypi,go,cargo,docker -u",
"version": "napi version"
},
"devDependencies": {
"@napi-rs/cli": "^3.11.1",
"@stylistic/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^8.74.0",
"concurrently": "^10.0.7",
"cross-env": "^10.1.0",
"eslint": "9.39.2",
"globals": "^17.14.0",
"prettier": "^3.10.1",
"rimraf": "^6.1.4",
"set-interval-async": "^3.0.6",
"sharp": "^0.35.5",
"typescript": "5.9.3",
"typescript-eslint": "^8.74.0",
"updates": "^20.0.2"
},
"bugs": {
"url": "https://github.com/cameraui/rust-decoder/issues"
},
"homepage": "https://github.com/cameraui/rust-decoder#readme",
"keywords": [
"camera-ui",
"decoder",
"rust",
"camera.ui",
"napi-rs",
"nv12",
"yuv",
"resize",
"crop",
"image-processing"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/cameraui/rust-decoder.git"
},
"engines": {
"node": ">= 10"
}
}