packages/sdk/package.json
{
"name": "@teable/sdk",
"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/sdk"
},
"author": {
"name": "tea artist",
"url": "https://github.com/tea-artist"
},
"sideEffects": false,
"source": "./src/index.ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./ui.config": {
"import": "./ui.config.js",
"require": "./ui.config.js",
"types": "./ui.config.d.ts"
}
},
"files": [
"dist",
"tailwind.config.js",
"ui.config.js",
"ui.config.d.ts"
],
"scripts": {
"build": "cross-env NODE_ENV=production tsc --build tsconfig.build.json",
"build-react17jsx": "microbundle --tsconfig ./tsconfig.build.json --jsx jsx --jsxImportSource react --globals react/jsx-runtime=jsx --compress",
"clean": "rimraf ./dist ./coverage ./tsconfig.tsbuildinfo ./tsconfig.build.tsbuildinfo ./node_modules/.cache ./.eslintcache",
"dev": "microbundle watch",
"lint": "eslint . --ext .ts,.tsx,.js,.jsx,.cjs,.mjs --cache --cache-location ../../.cache/eslint/sdk.eslintcache",
"typecheck": "tsc --project ./tsconfig.json --noEmit",
"test": "run-s test-unit",
"test-unit": "vitest run --silent",
"test-unit-cover": "pnpm test-unit --coverage",
"fix-all-files": "eslint . --ext .ts,.tsx,.js,.jsx,.cjs,.mjs --fix",
"plate:add": "npx @udecode/plate-ui@latest add"
},
"dependencies": {
"@ariakit/react": "0.4.10",
"@belgattitude/http-exception": "1.5.0",
"@codemirror/autocomplete": "6.15.0",
"@codemirror/commands": "6.3.3",
"@codemirror/language": "6.10.1",
"@codemirror/state": "6.4.1",
"@codemirror/view": "6.26.0",
"@dnd-kit/core": "6.1.0",
"@dnd-kit/sortable": "8.0.0",
"@dnd-kit/utilities": "3.2.2",
"@lezer/highlight": "1.2.0",
"@radix-ui/react-icons": "1.3.0",
"@radix-ui/react-separator": "1.0.3",
"@radix-ui/react-toolbar": "1.1.0",
"@radix-ui/react-tooltip": "1.0.7",
"@tanstack/react-query": "4.36.1",
"@tanstack/react-table": "8.11.7",
"@tanstack/react-virtual": "3.2.0",
"@teable/common-i18n": "workspace:*",
"@teable/core": "workspace:*",
"@teable/icons": "workspace:*",
"@teable/next-themes": "0.3.3",
"@teable/openapi": "workspace:*",
"@teable/ui-lib": "workspace:*",
"@udecode/cn": "37.0.0",
"@udecode/plate-alignment": "37.0.0",
"@udecode/plate-combobox": "37.0.0",
"@udecode/plate-common": "37.0.0",
"@udecode/plate-core": "37.0.7",
"@udecode/plate-floating": "37.0.0",
"@udecode/plate-heading": "37.0.0",
"@udecode/plate-image": "16.0.1",
"@udecode/plate-link": "37.0.0",
"@udecode/plate-media": "37.0.0",
"@udecode/plate-mention": "37.0.0",
"@udecode/plate-resizable": "37.0.0",
"@udecode/plate-select": "37.0.0",
"@udecode/plate-slash-command": "37.0.0",
"@udecode/plate-trailing-block": "37.0.0",
"antlr4ts": "0.5.0-alpha.4",
"axios": "1.6.8",
"class-transformer": "0.5.1",
"class-variance-authority": "0.7.0",
"date-fns": "2.30.0",
"date-fns-tz": "2.0.1",
"dayjs": "1.11.10",
"deepmerge": "4.3.1",
"dequal": "2.0.3",
"fuse.js": "7.0.0",
"immer": "10.0.4",
"lodash": "4.17.21",
"lru-cache": "10.2.0",
"lucide-react": "0.363.0",
"penpal": "6.2.2",
"react-day-picker": "8.10.0",
"react-hammerjs": "1.0.1",
"react-hotkeys-hook": "4.5.0",
"react-textarea-autosize": "8.5.3",
"react-use": "17.5.0",
"reconnecting-websocket": "4.4.0",
"scroller": "0.0.3",
"sharedb": "4.1.2",
"slate": "0.103.0",
"slate-history": "0.109.0",
"slate-hyperscript": "0.100.0",
"slate-react": "0.109.0",
"ts-key-enum": "2.0.12",
"ts-keycode-enum": "1.0.6",
"ts-mixer": "6.0.4",
"zustand": "4.5.2"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@teable/eslint-config-bases": "workspace:^",
"@testing-library/jest-dom": "6.4.2",
"@testing-library/react": "14.2.2",
"@types/lodash": "4.17.0",
"@types/node": "20.9.0",
"@types/react": "18.2.69",
"@types/react-dom": "18.2.22",
"@types/react-hammerjs": "1.0.7",
"@types/scroller": "0.1.5",
"@types/sharedb": "3.3.10",
"@vitejs/plugin-react-swc": "3.6.0",
"@vitest/coverage-v8": "1.4.0",
"cross-env": "7.0.3",
"eslint": "8.57.0",
"get-tsconfig": "4.7.3",
"microbundle": "0.15.1",
"npm-run-all2": "6.1.2",
"prettier": "3.2.5",
"react": "18.3.1",
"react-dom": "18.3.1",
"rimraf": "5.0.5",
"tailwindcss": "3.4.1",
"typescript": "5.4.3",
"vite-plugin-svgr": "4.2.0",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.6.0"
}
}