teableio/teable

View on GitHub
packages/ui-lib/package.json

Summary

Maintainability
Test Coverage
{
  "name": "@teable/ui-lib",
  "version": "1.5.0",
  "license": "MIT",
  "homepage": "https://github.com/teableio/teable",
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/teableio/teable",
    "directory": "packages/ui-lib"
  },
  "author": {
    "name": "tea artist",
    "url": "https://github.com/tea-artist"
  },
  "sideEffects": false,
  "source": "src/index.ts",
  "main": "dist/index.js",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "type": "module",
  "files": [
    "dist",
    "tailwind.config.js",
    "tailwind.shadcnui.config.js",
    "ui.config.js",
    "ui.config.d.ts"
  ],
  "export": {
    ".": {
      "import": "./dist/index.js",
      "require": "./dist/index.js"
    },
    "./ui.config": {
      "import": "./ui.config.js",
      "require": "./ui.config.js",
      "types": "./ui.config.d.ts"
    },
    "global.shadcn.css": {
      "import": "./dist/global.shadcn.css",
      "require": "./dist/global.shadcn.css"
    }
  },
  "scripts": {
    "build": "cross-env NODE_ENV=production tsc --build tsconfig.build.json && cp src/shadcn/global.shadcn.css dist/",
    "build-react17jsx": "microbundle --tsconfig ./tsconfig.build.json --jsx jsx --jsxImportSource react --globals react/jsx-runtime=jsx --compress",
    "clean": "rimraf ./dist ./build ./tsconfig.tsbuildinfo ./tsconfig.build.tsbuildinfo ./node_modules/.cache ./.eslintcache",
    "dev": "microbundle watch --tsconfig ./tsconfig.build.json",
    "lint": "eslint . --ext .ts,.tsx,.js,.jsx,.cjs,.mjs --cache --cache-location ../../.cache/eslint/ui-lib.eslintcache",
    "typecheck": "tsc --project ./tsconfig.json --noEmit",
    "test": "run-s test-unit",
    "test-unit": "echo \"No unit tests yet\"",
    "fix-all-files": "eslint . --ext .ts,.tsx,.js,.jsx,.cjs,.mjs --fix",
    "storybook": "start-storybook -p 6006",
    "build-storybook": "build-storybook --output-dir build/storybook",
    "serve-storybook": "sirv build/storybook --cors --port 8888",
    "shadcn:ui": "node --trace-warnings ./scripts/shadcn-ui.mjs",
    "update-shadcn-ui": "node  ./scripts/update-shadcn-ui.mjs"
  },
  "peerDependencies": {
    "@types/react": "^18.2.11",
    "@types/react-dom": "^18.2.4",
    "react": "^18.2.0",
    "react-dom": "^18.2.0"
  },
  "peerDependenciesMeta": {
    "@types/react": {
      "optional": true
    },
    "@types/react-dom": {
      "optional": true
    }
  },
  "devDependencies": {
    "@mdx-js/react": "3.0.1",
    "@storybook/addon-actions": "8.0.4",
    "@storybook/addon-docs": "8.0.4",
    "@storybook/addon-essentials": "8.0.4",
    "@storybook/addon-links": "8.0.4",
    "@storybook/addon-postcss": "2.0.0",
    "@storybook/addon-storysource": "8.0.4",
    "@storybook/builder-webpack5": "8.0.4",
    "@storybook/manager-webpack5": "6.5.16",
    "@storybook/react": "8.0.4",
    "@tailwindcss/aspect-ratio": "0.4.2",
    "@teable/eslint-config-bases": "workspace:^",
    "@testing-library/react": "14.2.2",
    "@types/node": "20.9.0",
    "@types/react": "18.2.69",
    "@types/react-dom": "18.2.22",
    "autoprefixer": "10.4.19",
    "core-js": "3.36.1",
    "cross-env": "7.0.3",
    "eslint": "8.57.0",
    "microbundle": "0.15.1",
    "npm-run-all2": "6.1.2",
    "postcss": "8.4.38",
    "postcss-flexbugs-fixes": "5.0.2",
    "prettier": "3.2.5",
    "react": "18.3.1",
    "react-dom": "18.3.1",
    "require-from-string": "2.0.2",
    "rimraf": "5.0.5",
    "shadcn-ui": "0.8.0",
    "sirv": "2.0.4",
    "sirv-cli": "2.0.2",
    "tailwindcss": "3.4.1",
    "tsconfig-paths-webpack-plugin": "4.1.0",
    "typescript": "5.4.3",
    "webpack": "5.91.0"
  },
  "dependencies": {
    "@dnd-kit/core": "6.1.0",
    "@dnd-kit/sortable": "8.0.0",
    "@dnd-kit/utilities": "3.2.2",
    "@glideapps/glide-data-grid": "6.0.3",
    "@radix-ui/react-accordion": "^1.1.2",
    "@radix-ui/react-alert-dialog": "1.0.5",
    "@radix-ui/react-avatar": "1.0.4",
    "@radix-ui/react-checkbox": "1.0.4",
    "@radix-ui/react-collapsible": "1.0.3",
    "@radix-ui/react-context-menu": "2.1.5",
    "@radix-ui/react-dialog": "1.0.5",
    "@radix-ui/react-dropdown-menu": "2.0.6",
    "@radix-ui/react-hover-card": "1.0.7",
    "@radix-ui/react-icons": "1.3.0",
    "@radix-ui/react-label": "2.0.2",
    "@radix-ui/react-popover": "1.0.7",
    "@radix-ui/react-progress": "1.0.3",
    "@radix-ui/react-radio-group": "1.1.3",
    "@radix-ui/react-scroll-area": "1.0.5",
    "@radix-ui/react-select": "2.0.0",
    "@radix-ui/react-separator": "1.0.3",
    "@radix-ui/react-slot": "1.0.2",
    "@radix-ui/react-switch": "1.0.3",
    "@radix-ui/react-tabs": "1.0.4",
    "@radix-ui/react-toast": "1.1.5",
    "@radix-ui/react-toggle": "1.0.3",
    "@radix-ui/react-toggle-group": "1.1.0",
    "@radix-ui/react-tooltip": "1.0.7",
    "@teable/icons": "workspace:^",
    "@teable/next-themes": "0.3.3",
    "class-variance-authority": "0.7.0",
    "clsx": "2.1.0",
    "cmdk": "1.0.0",
    "date-fns": "2.30.0",
    "deepmerge": "4.3.1",
    "docx-preview": "0.3.2",
    "embla-carousel-react": "8.0.0",
    "marked": "14.1.3",
    "react-day-picker": "8.10.0",
    "react-hook-form": "7.51.1",
    "react-resizable-panels": "2.0.16",
    "react-responsive-carousel": "3.2.23",
    "recharts": "2.12.3",
    "sonner": "1.4.41",
    "tailwind-merge": "2.2.2",
    "tailwindcss-animate": "1.0.7",
    "xlsx": "0.18.5",
    "zod": "3.22.4"
  }
}