-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.74 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 2.74 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
{
"name": "@webviewjs/webview",
"version": "0.1.4",
"bin": {
"webview": "./cli/index.mjs",
"webviewjs": "./cli/index.mjs"
},
"description": "Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.",
"main": "./index.js",
"types": "./index.d.ts",
"repository": "git@github.com:webviewjs/webview.git",
"license": "MIT",
"type": "commonjs",
"keywords": [
"webview",
"node",
"rust",
"cross-platform",
"gui"
],
"files": [
"cli",
"index.d.ts",
"index.js"
],
"napi": {
"binaryName": "webview",
"targets": [
"x86_64-pc-windows-msvc",
"i686-pc-windows-msvc",
"aarch64-pc-windows-msvc",
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-unknown-linux-gnu",
"i686-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"armv7-unknown-linux-gnueabihf",
"aarch64-linux-android",
"armv7-linux-androideabi",
"x86_64-unknown-freebsd"
]
},
"engines": {
"node": ">= 24"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"artifacts": "napi artifacts",
"build": "napi build --platform --release",
"build:debug": "napi build --platform",
"build:all": "napi build --release",
"build:prebuilds": "napi build --platform --release --strip",
"clean": "napi clean && cargo clean",
"format": "run-p format:prettier format:rs",
"format:prettier": "prettier . -w",
"format:rs": "cargo fmt",
"lint": "oxlint .",
"lint:fix": "oxlint --fix .",
"test": "node --test __test__/*.test.*",
"test:watch": "node --test --watch __test__/*.test.*",
"prepublishOnly": "napi prepublish -t npm",
"version": "napi version",
"check": "cargo check",
"clippy": "cargo clippy -- -D warnings",
"docs": "cargo doc --no-deps --open",
"update": "bun update",
"setup": "bash ./scripts/install-linux-deps.sh"
},
"devDependencies": {
"@napi-rs/cli": "^3.5.1",
"@swc-node/register": "^1.11.1",
"@swc/core": "^1.15.8",
"@types/node": "^25.0.3",
"ava": "^6.4.1",
"chalk": "^5.6.2",
"husky": "^9.1.7",
"lint-staged": "^15.5.2",
"nodeia": "^0.0.1",
"npm-run-all2": "^7.0.2",
"oxlint": "^0.13.2",
"prettier": "^3.7.4",
"tinybench": "^2.9.0",
"typescript": "^5.9.3"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"oxlint --fix"
],
"*.@(js|ts|tsx|yml|yaml|md|json)": [
"prettier --write"
]
},
"prettier": {
"printWidth": 120,
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always",
"endOfLine": "lf",
"tabWidth": 2,
"useTabs": false
},
"packageManager": "bun@1.3.5"
}