107 lines
2.5 KiB
JSON

{
"$schema": "https://schema.kunkun.sh",
"name": "kunkun-ext-system-info",
"license": "MIT",
"version": "0.1.4",
"repository": "https://github.com/kunkunsh/kunkun-ext-system-info",
"kunkun": {
"name": "System Info",
"shortDescription": "System Info",
"longDescription": "System Info",
"identifier": "system-info",
"icon": {
"type": "iconify",
"value": "grommet-icons:system"
},
"demoImages": [
"https://i.imgur.com/SrIIlCa.png"
],
"permissions": [
"system-info:all",
"clipboard:read-text",
"notification:all",
{
"permission": "shell:execute",
"allow": [
{
"cmd": {
"program": "ioreg",
"args": [
"-arn",
"AppleSmartBattery"
]
}
}
]
}
],
"customUiCmds": [],
"templateUiCmds": [
{
"name": "Battery Info",
"main": "dist/battery-info.js",
"icon": {
"type": "iconify",
"value": "emojione:battery"
},
"cmds": [],
"platforms": [
"macos"
]
}
]
},
"scripts": {
"dev": "vite dev",
"dev:template": "bun scripts/build-template-ext.ts dev",
"build:template": "bun scripts/build-template-ext.ts",
"build:custom": "vite build",
"build": "bun scripts/build.ts",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check . && eslint .",
"format": "prettier --write ."
},
"dependencies": {
"@kksh/api": "^0.1.7",
"@kksh/svelte5": "0.1.10",
"clsx": "^2.1.1",
"lucide-svelte": "^0.462.0",
"mode-watcher": "^0.5.0",
"tailwind-merge": "^2.5.5",
"tailwind-variants": "^0.3.0",
"tauri-plugin-network-api": "^2.0.4",
"tauri-plugin-system-info-api": "^2.0.8"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/adapter-static": "^3.0.6",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@tailwindcss/typography": "^0.5.15",
"@types/eslint": "^9.6.1",
"autoprefixer": "^10.4.20",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.46.0",
"globals": "^15.12.0",
"postcss": "^8.4.49",
"prettier": "^3.4.1",
"prettier-plugin-svelte": "^3.3.2",
"prettier-plugin-tailwindcss": "^0.6.9",
"svelte": "^5.0.0",
"svelte-check": "^4.0.0",
"tailwindcss": "^3.4.15",
"typescript": "^5.7.2",
"typescript-eslint": "^8.16.0",
"vite": "^5.0.3"
},
"type": "module",
"files": [
"dist",
"build",
".gitignore"
]
}