{
  "name": "@flowdrop/flowdrop",
  "description": "A drop-in visual workflow editor for any web application. You own the backend. You own the data. You own the orchestration.",
  "license": "MIT",
  "private": false,
  "version": "1.15.0",
  "author": "Shibin Das (D34dMan)",
  "bugs": {
    "url": "https://github.com/flowdrop-io/flowdrop/issues"
  },
  "watch": {
    "build": {
      "ignore": "build",
      "patterns": [
        "src"
      ],
      "extensions": "js,ts,svelte,html,css,svg",
      "quiet": true,
      "legacyWatch": true,
      "delay": 2500,
      "runOnChangeOnly": false
    },
    "build:drupal": {
      "ignore": "build",
      "patterns": [
        "src"
      ],
      "extensions": "js,ts,svelte,html,css,svg",
      "quiet": true,
      "legacyWatch": true,
      "delay": 2500,
      "runOnChangeOnly": false
    },
    "build:production": {
      "ignore": "build",
      "patterns": [
        "src"
      ],
      "extensions": "js,ts,svelte,html,css,svg",
      "quiet": true,
      "legacyWatch": true,
      "delay": 2500,
      "runOnChangeOnly": false
    }
  },
  "files": [
    "dist",
    "!dist/**/*.test.*",
    "!dist/**/*.spec.*",
    "!dist/**/*.map"
  ],
  "sideEffects": [
    "**/*.css",
    "./dist/styles/base.css",
    "./dist/editor/index.js"
  ],
  "svelte": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "type": "module",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "svelte": "./dist/index.js",
      "default": "./dist/index.js"
    },
    "./core": {
      "types": "./dist/core/index.d.ts",
      "svelte": "./dist/core/index.js",
      "default": "./dist/core/index.js"
    },
    "./editor": {
      "types": "./dist/editor/index.d.ts",
      "svelte": "./dist/editor/index.js",
      "default": "./dist/editor/index.js"
    },
    "./form": {
      "types": "./dist/form/index.d.ts",
      "svelte": "./dist/form/index.js",
      "default": "./dist/form/index.js"
    },
    "./form/code": {
      "types": "./dist/form/code.d.ts",
      "svelte": "./dist/form/code.js",
      "default": "./dist/form/code.js"
    },
    "./form/autocomplete": {
      "types": "./dist/form/autocomplete.d.ts",
      "svelte": "./dist/form/autocomplete.js",
      "default": "./dist/form/autocomplete.js"
    },
    "./form/markdown": {
      "types": "./dist/form/markdown.d.ts",
      "svelte": "./dist/form/markdown.js",
      "default": "./dist/form/markdown.js"
    },
    "./form/full": {
      "types": "./dist/form/full.d.ts",
      "svelte": "./dist/form/full.js",
      "default": "./dist/form/full.js"
    },
    "./display": {
      "types": "./dist/display/index.d.ts",
      "svelte": "./dist/display/index.js",
      "default": "./dist/display/index.js"
    },
    "./playground": {
      "types": "./dist/playground/index.d.ts",
      "svelte": "./dist/playground/index.js",
      "default": "./dist/playground/index.js"
    },
    "./settings": {
      "types": "./dist/settings/index.d.ts",
      "svelte": "./dist/settings/index.js",
      "default": "./dist/settings/index.js"
    },
    "./styles": "./dist/styles/base.css",
    "./styles/*": "./dist/styles/*",
    "./schema": {
      "default": "./dist/schemas/v1/workflow.schema.json"
    },
    "./chat": {
      "types": "./dist/chat/index.d.ts",
      "svelte": "./dist/chat/index.js",
      "default": "./dist/chat/index.js"
    },
    "./schema/v1": {
      "default": "./dist/schemas/v1/workflow.schema.json"
    },
    "./openapi": {
      "default": "./dist/openapi/v1/openapi.yaml"
    },
    "./openapi/v1": {
      "default": "./dist/openapi/v1/openapi.yaml"
    }
  },
  "peerDependencies": {
    "@codemirror/autocomplete": "^6.20.0",
    "@codemirror/commands": "^6.10.2",
    "@codemirror/lang-json": "^6.0.2",
    "@codemirror/lang-markdown": "^6.5.0",
    "@codemirror/language": "^6.12.1",
    "@codemirror/lint": "^6.9.2",
    "@codemirror/state": "^6.5.4",
    "@codemirror/theme-one-dark": "^6.1.3",
    "@codemirror/view": "^6.39.14",
    "@iconify/svelte": "^5.0.0",
    "@xyflow/svelte": "^1.2",
    "codemirror": "^6.0.2",
    "svelte": "^5.0.0"
  },
  "peerDependenciesMeta": {
    "@codemirror/autocomplete": {
      "optional": true
    },
    "@codemirror/commands": {
      "optional": true
    },
    "@codemirror/lang-json": {
      "optional": true
    },
    "@codemirror/lang-markdown": {
      "optional": true
    },
    "@codemirror/language": {
      "optional": true
    },
    "@codemirror/lint": {
      "optional": true
    },
    "@codemirror/state": {
      "optional": true
    },
    "@codemirror/theme-one-dark": {
      "optional": true
    },
    "@codemirror/view": {
      "optional": true
    },
    "@iconify/svelte": {
      "optional": true
    },
    "codemirror": {
      "optional": true
    }
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/flowdrop-io/flowdrop.git"
  },
  "devDependencies": {
    "@chromatic-com/storybook": "^5.0.1",
    "@codemirror/autocomplete": "^6.20.0",
    "@codemirror/commands": "^6.10.2",
    "@codemirror/lang-json": "^6.0.2",
    "@codemirror/lang-markdown": "^6.5.0",
    "@codemirror/language": "^6.12.1",
    "@codemirror/lint": "^6.9.2",
    "@codemirror/state": "^6.5.4",
    "@codemirror/theme-one-dark": "^6.1.3",
    "@codemirror/view": "^6.39.14",
    "@eslint/compat": "^1.2.5",
    "@eslint/js": "^9.18.0",
    "@iconify/svelte": "^5.0.0",
    "@playwright/test": "^1.49.1",
    "@storybook/addon-docs": "^10.2.15",
    "@storybook/addon-svelte-csf": "^5.0.11",
    "@storybook/addon-themes": "^10.2.15",
    "@storybook/addon-vitest": "^10.2.15",
    "@storybook/sveltekit": "^10.2.15",
    "@sveltejs/adapter-auto": "^6.0.0",
    "@sveltejs/adapter-node": "^5.4.0",
    "@sveltejs/kit": "^2.49.2",
    "@sveltejs/package": "^2.0.0",
    "@sveltejs/vite-plugin-svelte": "^5.0.0",
    "@types/dompurify": "^3.2.0",
    "@types/marked": "^6.0.0",
    "@types/node": "^20",
    "@types/uuid": "^10.0.0",
    "@vitest/browser": "^3.2.3",
    "@vitest/coverage-v8": "^3.2.4",
    "@vitest/ui": "^3.2.4",
    "@xyflow/svelte": "^1.2",
    "codemirror": "^6.0.2",
    "eslint": "^9.18.0",
    "eslint-config-prettier": "^10.0.1",
    "eslint-plugin-storybook": "^10.2.15",
    "eslint-plugin-svelte": "^3.0.0",
    "globals": "^16.0.0",
    "happy-dom": "^20.8.9",
    "msw": "^2.12.7",
    "npm-watch": "^0.13.0",
    "picomatch": "^4.0.4",
    "playwright": "^1.53.0",
    "prettier": "^3.4.2",
    "prettier-plugin-svelte": "^3.3.3",
    "publint": "^0.3.2",
    "storybook": "^10.2.15",
    "storybook-addon-tag-badges": "^3.0.6",
    "svelte": "^5.0.0",
    "svelte-check": "^4.0.0",
    "terser": "^5.43.1",
    "typescript": "^5.0.0",
    "typescript-eslint": "^8.20.0",
    "vite": "^6.4.2",
    "vite-plugin-devtools-json": "^0.2.1",
    "vitest": "^3.2.3",
    "vitest-browser-svelte": "^0.1.0",
    "yaml": "^2.8.3"
  },
  "engines": {
    "node": ">=18"
  },
  "keywords": [
    "svelte",
    "svelte5",
    "workflow",
    "workflow-editor",
    "editor",
    "node-editor",
    "graph-editor",
    "visual-programming",
    "xyflow",
    "flowchart",
    "dag",
    "agent",
    "ai-workflow",
    "embeddable"
  ],
  "dependencies": {
    "diff": "^8.0.3",
    "dompurify": "^3.3.1",
    "marked": "^16.1.1",
    "svelte-5-french-toast": "^2.0.6",
    "uuid": "^11.1.0"
  },
  "msw": {
    "workerDirectory": [
      "static"
    ]
  },
  "scripts": {
    "dev": "vite dev",
    "build": "vite build && pnpm run prepack",
    "build:drupal": "vite build --config vite.config.drupal.ts",
    "build:production": "vite build --config vite.config.production.ts",
    "watch:build:drupal": "npm-watch build:drupal",
    "watch:build:production": "npm-watch build:production",
    "watch:build": "npm-watch build",
    "preview": "vite preview",
    "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
    "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
    "lint": "eslint . && prettier --check .",
    "test": "vitest run",
    "test:watch": "vitest",
    "test:ui": "vitest --ui",
    "test:coverage": "vitest run --coverage",
    "test:e2e": "playwright test",
    "test:e2e:ui": "playwright test --ui",
    "test:e2e:debug": "playwright test --debug",
    "test:all": "pnpm run test && pnpm run test:e2e",
    "format": "prettier --write .",
    "storybook": "storybook dev -p 6006",
    "storybook:build": "storybook build",
    "schema:generate": "node scripts/generate-schema.mjs",
    "schema:check": "node scripts/generate-schema.mjs --check",
    "api:lint": "pnpm --dir ../../apps/api-docs run lint",
    "api:bundle": "pnpm --dir ../../apps/api-docs run bundle"
  }
}