Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

2.9 KB
Raw Blame
{
  "name": "@spree/dashboard-core",
  "license": "MIT",
  "version": "6.0.2",
  "description": "Spree Dashboard framework — registries (table, nav, slot, settings-nav), providers (auth, permission, store), admin SDK client, generic infra hooks, and the defineDashboardPlugin extension API.",
  "author": "Vendo Connect Inc.",
  "homepage": "https://spreecommerce.org",
  "repository": {
    "type": "git",
    "url": "https://github.com/spree/spree.git",
    "directory": "packages/dashboard-core"
  },
  "keywords": [
    "spree",
    "commerce",
    "ecommerce",
    "admin",
    "dashboard",
    "react",
    "plugin"
  ],
  "type": "module",
  "main": "./src/index.ts",
  "module": "./src/index.ts",
  "types": "./src/index.ts",
  "exports": {
    ".": "./src/index.ts",
    "./client": "./src/client.ts",
    "./api-client": "./src/api-client.ts",
    "./plugin": "./src/plugin.ts",
    "./vite": {
      "types": "./src/vite/index.ts",
      "default": "./dist/vite/index.js"
    },
    "./vite/discover": {
      "types": "./src/vite/discover.ts",
      "default": "./dist/vite/discover.js"
    },
    "./providers/*": "./src/providers/*.tsx",
    "./hooks/*": "./src/hooks/*.ts",
    "./hooks/use-command-palette": "./src/hooks/use-command-palette.tsx",
    "./lib/*": "./src/lib/*.ts",
    "./locales/en.json": "./src/locales/en.json"
  },
  "files": [
    "src",
    "dist",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "lint": "biome check src",
    "lint:fix": "biome check --fix src",
    "format": "biome format --write src",
    "typecheck": "tsc --noEmit",
    "test": "vitest run",
    "build": "tsup",
    "prepublishOnly": "tsup"
  },
  "peerDependencies": {
    "@spree/admin-sdk": ">=6.0.2 <7.0.0-0",
    "@spree/dashboard-ui": ">=6.0.2 <7.0.0-0",
    "@tanstack/react-query": "^5.100.9",
    "@tanstack/react-router": "^1.169.2",
    "i18next": "^26.2.0",
    "react": "^19.2.6",
    "react-dom": "^19.2.6",
    "react-hook-form": "^7.75.0",
    "react-i18next": "^17.0.8"
  },
  "dependencies": {
    "@dnd-kit/core": "catalog:",
    "@dnd-kit/sortable": "catalog:",
    "@dnd-kit/utilities": "catalog:",
    "@hookform/resolvers": "catalog:",
    "@spree/core": "workspace:^",
    "@tailwindcss/vite": "^4.2.4",
    "@tanstack/react-hotkeys": "catalog:",
    "date-fns": "catalog:",
    "date-fns-tz": "catalog:",
    "lucide-react": "catalog:",
    "zod": "catalog:"
  },
  "devDependencies": {
    "@spree/admin-sdk": "workspace:^",
    "@spree/dashboard-ui": "workspace:^",
    "@tanstack/react-query": "catalog:",
    "@tanstack/react-router": "catalog:",
    "@types/react": "catalog:",
    "@types/react-dom": "catalog:",
    "i18next": "catalog:",
    "react": "catalog:",
    "react-dom": "catalog:",
    "react-hook-form": "catalog:",
    "react-i18next": "catalog:",
    "tsup": "catalog:",
    "typescript": "catalog:",
    "vite": "catalog:",
    "vitest": "catalog:"
  }
}