Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·79 lines (79 loc) · 2.26 KB
/
Copy pathpackage.json
File metadata and controls
executable file
·79 lines (79 loc) · 2.26 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
{
"name": "tauri-plugin-serialplugin-api",
"version": "4.2.6",
"description": "Tauri plugin API for serial ports (desktop and Android).",
"license": "Apache-2.0 OR MIT",
"author": "s00d",
"type": "module",
"types": "./dist-js/index.d.ts",
"main": "./dist-js/index.cjs",
"module": "./dist-js/index.js",
"homepage": "https://github.com/s00d/tauri-plugin-serialplugin#readme",
"bugs": {
"url": "https://github.com/s00d/tauri-plugin-serialplugin/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/s00d/tauri-plugin-serialplugin.git"
},
"keywords": [
"tauri",
"tauri-plugin",
"serial",
"serialport",
"usb",
"android"
],
"exports": {
".": {
"import": {
"types": "./dist-js/index.d.ts",
"default": "./dist-js/index.js"
},
"require": {
"types": "./dist-js/index.d.cts",
"default": "./dist-js/index.cjs"
}
}
},
"scripts": {
"build": "vite build && tsc -p tsconfig.build.json && node scripts/emit-cts-types.mjs && pnpm check:dist",
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.test.json",
"check": "pnpm typecheck",
"check:dist": "publint --strict && attw --pack . --profile node16 && node scripts/check-dist.mjs",
"check:demo": "pnpm --dir examples/serialport-test run build",
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "pnpm build",
"publish:check": "bash scripts/check-publish-surface.sh",
"playground": "pnpm --dir examples/serialport-test run tauri dev",
"tauri": "tauri"
},
"files": [
"dist-js",
"README.md",
"CHANGELOG.md",
"CONTRIBUTING.md",
"SECURITY.md",
"LICENSE-MIT",
"LICENSE-APACHE",
"LICENSE.spdx"
],
"sideEffects": false,
"dependencies": {
"@tauri-apps/api": "^2.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@types/node": "^22.19.0",
"jsdom": "^31.0.0",
"publint": "^0.3.25",
"typescript": "^6.0.3",
"vite": "^8.3.6",
"vitest": "^5.1.0"
},
"packageManager": "pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0",
"engines": {
"node": ">=20.19"
}
}