Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

5.9 KB
Raw Blame
{
  "name": "@invoke-ai/invoke-ai-webv2",
  "version": "0.0.1",
  "private": true,
  "type": "module",
  "imports": {
    "#architecture/source-analysis": "./src/architecture/tsSourceAnalysis.ts"
  },
  "scripts": {
    "architecture:check": "vitest run --config vitest.config.mts src/architecture/dependencyPolicy.test.ts src/architecture/workbenchOwnership.test.ts src/architecture/architectureWorkflow.test.ts src/architecture/canvasSeamOwnership.test.ts src/architecture/tsSourceAnalysis.test.ts src/architecture/secureContextApis.test.ts src/architecture/axeAudits.test.ts src/architecture/typographyPolicy.test.ts",
    "architecture:inventory": "node --experimental-strip-types scripts/write-workbench-ownership-inventory.mjs && node --experimental-strip-types scripts/write-contract-caller-matrix.mjs && node --experimental-strip-types scripts/write-canvas-import-matrix.mjs",
    "build": "pnpm run lint && vite build",
    "check:release": "pnpm run lint:code && pnpm run check:release:tests",
    "check:release:tests": "pnpm run test && pnpm run test:fixtures && pnpm run test:performance:architecture && pnpm run test:browser && pnpm run test:journeys:browser",
    "dev": "vite dev",
    "dev:host": "vite dev --host",
    "dev:mock": "node scripts/dev-mock.mjs",
    "fix": "pnpm run lint:oxc:fix && pnpm run format:write",
    "format:check": "oxfmt --check .",
    "format:write": "oxfmt --write .",
    "graphs:export": "node scripts/export-graphs.mjs",
    "i18n:report": "node scripts/i18n-report.mjs",
    "i18n:report:verbose": "node scripts/i18n-report.mjs --verbose",
    "lint": "pnpm run lint:code && pnpm run architecture:check",
    "lint:code": "pnpm run format:check && pnpm run lint:oxc && pnpm run lint:tsc",
    "lint:oxc": "oxlint --react-plugin --import-plugin --jsx-a11y-plugin --deny-warnings .",
    "lint:oxc:fix": "oxlint --react-plugin --import-plugin --jsx-a11y-plugin --fix .",
    "lint:tsc": "pnpm run theme:typegen && tsc --noEmit",
    "prepare": "pnpm run theme:typegen",
    "preview": "vite preview",
    "test": "vitest run --config vitest.config.mts",
    "test:accessibility": "pnpm run test:accessibility:build && pnpm run test:accessibility:browser",
    "test:accessibility:browser": "node scripts/run-accessibility-journeys.mjs",
    "test:accessibility:build": "vite build",
    "test:all": "pnpm run test && pnpm run test:browser && pnpm run test:fixtures",
    "test:browser": "vitest run --config vitest.browser.config.mts",
    "test:browser:smoke": "vite build && pnpm run test:browser:smoke:browser",
    "test:browser:smoke:browser": "node scripts/run-browser-smoke.mjs",
    "test:browser:update-goldens": "CANVAS_GOLDEN_UPDATE=1 vitest run --config vitest.browser.config.mts src/workbench/canvas-engine/render/golden",
    "test:fixtures": "node --test scripts/mock-backend-fixtures.test.mjs scripts/preview-server.test.mjs scripts/run-project-file-journey.test.mjs scripts/locale-assets-plugin.test.mjs scripts/export-graphs.test.mjs scripts/asset-fault-proxy.test.mjs scripts/browser-validation.test.mjs scripts/guidance-links.test.mjs",
    "test:journeys": "vite build && pnpm run test:journeys:browser",
    "test:journeys:browser": "pnpm run test:project-files:browser && pnpm run test:accessibility:browser && pnpm run test:browser:smoke:browser",
    "test:performance:architecture": "pnpm run test:performance:build && pnpm run test:performance:browser",
    "test:performance:browser": "node scripts/measure-architecture-performance.mjs",
    "test:performance:browser:profile": "node scripts/measure-architecture-performance.mjs --profile",
    "test:performance:browser:update-baseline": "node scripts/measure-architecture-performance.mjs --update-baseline",
    "test:performance:build": "pnpm run test:performance:contracts && vite build && node --experimental-strip-types scripts/check-architecture-performance.mjs",
    "test:performance:build:update-baseline": "pnpm run test:performance:contracts && vite build && node --experimental-strip-types scripts/check-architecture-performance.mjs --update-baseline",
    "test:performance:contracts": "node --test scripts/performance-budgets.test.mjs",
    "test:project-files": "vite build && pnpm run test:project-files:browser",
    "test:project-files:browser": "node scripts/run-project-file-journey.mjs",
    "theme:typegen": "chakra typegen src/platform/ui/theme/system.ts"
  },
  "dependencies": {
    "@chakra-ui/react": "^3.38.0",
    "@dnd-kit/core": "^6.3.1",
    "@dnd-kit/modifiers": "^9.0.0",
    "@dnd-kit/sortable": "^10.0.0",
    "@dnd-kit/utilities": "^3.2.2",
    "@emotion/react": "^11.14.0",
    "@fontsource/inter": "^5.3.0",
    "@tanstack/react-query": "^5.104.5",
    "@tanstack/react-router": "^1.170.46",
    "@tanstack/react-virtual": "^3.14.22",
    "@xyflow/react": "^12.12.0",
    "ag-psd": "^31.0.3",
    "fflate": "^0.8.3",
    "fuzzysort": "^4.0.2",
    "html-to-image": "^1.11.13",
    "i18next": "^26.5.6",
    "i18next-http-backend": "^4.0.4",
    "idb": "^8.0.4",
    "lucide-react": "^1.69.0",
    "perfect-freehand": "^1.2.3",
    "plotly.js-gl2d-dist-min": "^4.1.2",
    "react": "^19.3.1",
    "react-dom": "^19.3.1",
    "react-hook-tanstack-virtual": "^0.0.4",
    "react-i18next": "^17.1.3",
    "socket.io-client": "^4.8.4",
    "tinykeys": "^4.0.1",
    "use-sync-external-store": "^1.7.0",
    "yaml": "^2.9.1",
    "zod": "^4.6.7"
  },
  "devDependencies": {
    "@chakra-ui/cli": "^3.38.0",
    "@rolldown/plugin-babel": "^0.2.4",
    "@types/node": "^26.6.5",
    "@types/plotly.js": "^3.0.15",
    "@types/react": "^19.3.0",
    "@types/react-dom": "^19.3.0",
    "@types/use-sync-external-store": "^1.7.0",
    "@vitejs/plugin-react": "^6.1.2",
    "@vitest/browser-playwright": "5.0.5",
    "axe-core": "^4.14.0",
    "babel-plugin-react-compiler": "^1.0.0",
    "oxfmt": "^0.74.0",
    "oxlint": "^1.89.0",
    "playwright": "1.64.1",
    "typescript": "^7.0.2",
    "vite": "^8.3.5",
    "vitest": "5.0.5"
  },
  "engines": {
    "pnpm": "10"
  },
  "packageManager": "[email protected]"
}