-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
99 lines (99 loc) · 2.3 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
{
"name": "@webviewjs/webview",
"version": "0.1.3",
"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": "[email protected]:webviewjs/webview.git",
"license": "MIT",
"type": "commonjs",
"keywords": [
"webview",
"node",
"rust",
"cross-platform",
"gui"
],
"files": [
"cli",
"index.d.ts",
"index.js"
],
"napi": {
"name": "webview",
"triples": {
"defaults": true,
"additional": [
"i686-pc-windows-msvc",
"aarch64-apple-darwin",
"aarch64-linux-android",
"x86_64-unknown-freebsd",
"aarch64-pc-windows-msvc",
"armv7-linux-androideabi"
]
}
},
"engines": {
"node": ">= 10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"artifacts": "napi artifacts",
"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",
"version": "napi version",
"test": "node --test './__test__/**/*.test.*'"
},
"devDependencies": {
"@napi-rs/cli": "^2.18.4",
"@swc-node/register": "^1.10.6",
"@swc/core": "^1.6.13",
"@taplo/cli": "^0.7.0",
"@types/node": "^22.7.4",
"ava": "^6.1.3",
"chalk": "^5.3.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"nodeia": "^0.0.1",
"npm-run-all2": "^6.2.2",
"oxlint": "^0.9.0",
"prettier": "^3.3.3",
"tinybench": "^2.8.0",
"typescript": "^5.5.3"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"oxlint --fix"
],
"*.@(js|ts|tsx|yml|yaml|md|json)": [
"prettier --write"
],
"*.toml": [
"taplo format"
]
},
"prettier": {
"printWidth": 120,
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always",
"endOfLine": "lf",
"tabWidth": 2,
"useTabs": false
},
"packageManager": "[email protected]"
}