<reponame>dzg/extensions
{
  "$schema": "https://www.raycast.com/schemas/extension.json",
  "name": "file-manager",
  "title": "File Manager",
  "description": "Manage files from Raycast",
  "icon": "command-icon.png",
  "author": "es183923",
  "license": "MIT",
  "commands": [
    {
      "name": "manage-files",
      "title": "Manage Files",
      "subtitle": "Files",
      "description": "Traverse the file system and create files in Raycast",
      "mode": "view"
    }
  ],
  "preferences": [
    {
      "name": "startDirectory",
      "type": "textfield",
      "default": "~",
      "required": true,
      "title": "Start Directory",
      "description": "Starting directory for the command. ~ is expanded into your home directory"
    },
    {
      "name": "caseSensitive",
      "type": "checkbox",
      "default": false,
      "required": true,
      "title": "Appearance",
      "description": "Show files and directories with uppercase letters before ones with lowercase letters",
      "label": "Case Sensitive"
    },
    {
      "name": "directoriesFirst",
      "type": "checkbox",
      "default": false,
      "required": true,
      "title": "",
      "description": "Show directories before other files",
      "label": "Directories First"
    },
    {
      "name": "showDots",
      "type": "checkbox",
      "default": false,
      "required": true,
      "title": "",
      "description": "Show dotfiles (files and directories that start with a .)",
      "label": "Show Dotfiles"
    },
    {
      "name": "showFilePermissions",
      "type": "checkbox",
      "default": false,
      "required": true,
      "title": "",
      "description": "Show the permissions of files",
      "label": "Show File Permissions"
    },
    {
      "name": "showFileSize",
      "type": "checkbox",
      "default": true,
      "required": true,
      "title": "",
      "description": "Show file size",
      "label": "Show File Size"
    }
  ],
  "dependencies": {
    "@raycast/api": "^1.25.4",
    "filesize": "^8.0.6",
    "moment": "^2.29.1"
  },
  "devDependencies": {
    "@types/node": "~16.10.0",
    "@types/react": "^17.0.28",
    "@typescript-eslint/eslint-plugin": "^5.0.0",
    "@typescript-eslint/parser": "^5.0.0",
    "eslint": "^7.32.0",
    "eslint-config-prettier": "^8.3.0",
    "react-devtools": "^4.19.2",
    "typescript": "^4.4.3"
  },
  "scripts": {
    "build": "ray build -e dist",
    "dev": "ray develop"
  }
}
