Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.9 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 1.9 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
{
"name": "magic-qr-code",
"version": "5.0.0",
"description": "Encode QR Code, Micro QR Code and rMQR symbols, and render them as SVG images, by using N-API.",
"keywords": [
"Micro QR Code",
"QR Code",
"QR Code Generator",
"SVG",
"node.js",
"rMQR"
],
"homepage": "https://magiclen.org/node-qrcode/",
"bugs": {
"url": "https://github.com/magiclen/node-qr-code/issues"
},
"license": "MIT",
"author": "Magic Len",
"repository": {
"type": "git",
"url": "git+https://github.com/magiclen/node-qr-code.git"
},
"files": [
"lib",
"src/**/*.rs",
"build.rs",
"Cargo.toml",
"Cargo.lock"
],
"type": "module",
"types": "./lib/index.d.ts",
"exports": "./lib/index.js",
"scripts": {
"test": "tsx --test",
"clean": "rimraf lib native",
"build": "npm run clean && npm run install && tsc -p tsconfig.build.json",
"build:watch": "npm run build -- -w",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"format": "oxfmt",
"format:check": "oxfmt --check",
"knip": "knip",
"check": "npm run lint && npm run format:check && npm run knip",
"prepare": "node setup-git-hooks.mjs",
"prepack": "npm run build",
"prepublishOnly": "npm run check && npm run test",
"install": "napi build --release --platform --output-dir native --js index.cjs --dts index.d.cts --format commonjs -- --locked"
},
"dependencies": {
"@napi-rs/cli": "^3.10.6"
},
"devDependencies": {
"@types/node": "^26.6.4",
"knip": "^6.39.0",
"oxfmt": "^0.71.0",
"oxlint": "^1.86.0",
"oxlint-tsgolint": "^7.0.2003",
"rimraf": "^6.1.3",
"tsx": "^4.23.15",
"typescript": "^7.0.2"
},
"engines": {
"node": ">=24"
}
}