package.json
package.json
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "shorturl",
"title": "Short URL Generator",
"description": "Create short URLs with a self-hosted short-url instance",
"icon": "extension-icon.png",
"author": "shadow1746556951",
"license": "MIT",
"preferences": [
{
"name": "apiBaseUrl",
"title": "Short URL Service",
"description": "Base URL of your short-url instance, e.g. http://localhost:8087/ or https://s.example.com/",
"type": "textfield",
"required": false,
"default": "http://localhost:8087/"
}
],
"commands": [
{
"name": "short",
"title": "Short URL Generator",
"description": "Create short URLs with a self-hosted short-url instance",
"mode": "view"
}
],
"dependencies": {
"@raycast/api": "^1.102.3",
"@raycast/utils": "^1.17.0"
},
"devDependencies": {
"@raycast/eslint-config": "^2.0.4",
"@types/node": "22.13.10",
"@types/react": "19.0.10",
"eslint": "^9.22.0",
"prettier": "^3.5.3",
"typescript": "^5.8.2"
},
"scripts": {
"build": "ray build",
"dev": "ray develop",
"fix-lint": "ray lint --fix",
"lint": "ray lint",
"prepublishOnly": "echo \"\\n\\nIt seems like you are trying to publish the Raycast extension to npm.\\n\\nIf you did intend to publish it to npm, remove the \\`prepublishOnly\\` script and rerun \\`npm publish\\` again.\\nIf you wanted to publish it to the Raycast Store instead, use \\`npm run publish\\` instead.\\n\\n\" && exit 1",
"publish": "npx @raycast/api@latest publish"
}
}