Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

1.6 KB
Raw Blame
{
  "name": "@metabase/custom-viz",
  "version": "2.0.1",
  "description": "Creating custom visualizations for Metabase",
  "type": "module",
  "bin": {
    "metabase-custom-viz": "dist/cli.js"
  },
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./dev-server-landing.html": "./dist/templates/dev-server-landing.html"
  },
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/metabase/metabase.git",
    "directory": "enterprise/frontend/src/custom-viz"
  },
  "files": [
    "dist",
    "CHANGELOG.md"
  ],
  "scripts": {
    "build": "vite build && cp -r src/templates dist/templates",
    "check:package-versions": "bun run scripts/check-package-versions.ts",
    "dev": "vite build --watch",
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "lint": "oxlint src/",
    "release": "bun run type-check && bun run build && np",
    "test": "vitest run",
    "test:watch": "vitest",
    "type-check": "tsc --noEmit && tsc --noEmit -p tsconfig.fixtures.json"
  },
  "dependencies": {
    "commander": "^13.1.0",
    "tar-stream": "^3.1.8"
  },
  "devDependencies": {
    "@types/node": "^25.5.0",
    "@types/react": "^18.3.3",
    "@types/react-dom": "^18.3.1",
    "@types/tar-stream": "^3.1.4",
    "np": "^11.0.2",
    "oxlint": "^1.59.0",
    "prettier": "^3.8.1",
    "typescript": "^5.9.3",
    "vite": "^8.1.6",
    "vite-plugin-dts": "^4.5.4",
    "vitest": "^4.1.3"
  }
}