-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
154 lines (154 loc) · 5.63 KB
/
Copy pathpackage.json
File metadata and controls
154 lines (154 loc) · 5.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "@tightknitai/block-kitchen",
"version": "0.10.2",
"description": "A drag-and-drop, no-code-friendly visual builder for Slack Block Kit messages. Integration-agnostic React component.",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./helpers": {
"types": "./dist/helpers.d.ts",
"import": "./dist/helpers.js",
"require": "./dist/helpers.cjs"
},
"./palette": {
"types": "./dist/palette.d.ts",
"import": "./dist/palette.js",
"require": "./dist/palette.cjs"
},
"./styles.css": "./dist/styles.css"
},
"files": [
"dist"
],
"sideEffects": [
"**/*.css"
],
"scripts": {
"build": "pnpm run build:js && pnpm run build:css",
"build:clean": "rm -rf dist && pnpm run build",
"build:js": "tsup",
"build:css": "tailwindcss -i ./src/styles.src.css -o ./dist/styles.css --minify && node ./scripts/scope-utilities.mjs",
"dev": "tsup --watch",
"dev:css": "tailwindcss -i ./src/styles.src.css -o ./dist/styles.css --watch --minify",
"typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.test.json",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"lint": "biome check .",
"lint:fix": "biome check --fix .",
"format": "biome format --write .",
"prepare": "node ./scripts/install-hooks.mjs",
"prepublishOnly": "pnpm run build:clean",
"demo:dev": "cd demo && pnpm install && pnpm dev",
"demo:build": "cd demo && CI=true pnpm install --frozen-lockfile && pnpm build",
"demo:preview": "cd demo && pnpm preview"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@tightknitai/slack-block-kit-validator": "^0.1.13",
"@tiptap/extension-link": "^3.29.2",
"@tiptap/react": "^3.29.2",
"@tiptap/starter-kit": "^3.29.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"emoji-datasource": "^16.0.0",
"nanoid": "^5.1.16",
"slack-blocks-to-jsx": "^1.1.1",
"tailwind-merge": "^3.6.0"
},
"peerDependencies": {
"@radix-ui/react-dialog": "^1.1.0",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-popover": "^1.1.0",
"@radix-ui/react-radio-group": "^1.3.0",
"@radix-ui/react-slot": "^1.2.0",
"@radix-ui/react-tooltip": "^1.2.0",
"lucide-react": "^1.0.0",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@biomejs/biome": "^2.5.6",
"@radix-ui/react-dialog": "^1.1.23",
"@radix-ui/react-label": "^2.1.15",
"@radix-ui/react-popover": "^1.1.23",
"@radix-ui/react-radio-group": "^1.4.7",
"@radix-ui/react-slot": "^1.3.3",
"@radix-ui/react-tooltip": "^1.2.16",
"@storybook/addon-a11y": "^10.5.6",
"@storybook/addon-docs": "^10.5.6",
"@storybook/addon-vitest": "^10.5.6",
"@storybook/react-vite": "^10.5.6",
"@tailwindcss/cli": "^4.3.3",
"@tailwindcss/vite": "^4.3.3",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"@vitest/browser": "^4.1.10",
"@vitest/browser-playwright": "^4.1.10",
"@vitest/coverage-v8": "^4.1.10",
"jsdom": "^29.1.1",
"lefthook": "^2.1.10",
"lucide-react": "^1.28.0",
"playwright": "^1.62.1",
"postcss": "^8.5.25",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"slack-web-api-client": "^1.1.14",
"storybook": "^10.5.6",
"tailwindcss": "^4.3.3",
"tsup": "^8.5.1",
"typescript": "^6.0.3",
"vite": "^8.2.0",
"vitest": "^4.1.10"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TightknitAI/block-kitchen.git"
},
"homepage": "https://github.com/TightknitAI/block-kitchen",
"bugs": {
"url": "https://github.com/TightknitAI/block-kitchen/issues"
},
"author": "Tightknit <https://tightknit.ai>",
"license": "MIT",
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"packageManager": "pnpm@10.32.1",
"pnpm": {
"//esbuild": "Pin esbuild >=0.28.1 to clear GHSA-gv7w-rqvm-qjhr (high; missing binary integrity verification in Deno). esbuild is a transitive devDependency only and is not shipped to consumers, but `pnpm audit --audit-level=high` in CI fails on it. vite already asks for ^0.28.1 on its own; tsup still asks for ^0.27.0, so this override is what keeps it patched. Remove once tsup resolves a fixed esbuild on its own.",
"//undici": "Pin undici ^7.29.0 to clear GHSA-vmh5-mc38-953g, GHSA-vxpw-j846-p89q, GHSA-hm92-r4w5-c3mj (high) plus GHSA-jr45-8vmc-qm54 and GHSA-v3r7-h72x-cjcm (moderate). undici is a transitive devDependency only (jsdom, used by the unit tests) and is not shipped to consumers, but `pnpm audit` in CI fails on it. Remove this override once jsdom pulls a fixed undici on its own.",
"overrides": {
"esbuild": ">=0.28.1",
"undici": "^7.29.0"
},
"//ignoredBuiltDependencies": "None of these need their install scripts: esbuild and @parcel/watcher ship prebuilt platform packages, and lefthook's bin is a JS shim that resolves the binary at run time. Listing them here just silences pnpm's approve-builds prompt.",
"ignoredBuiltDependencies": [
"@parcel/watcher",
"esbuild",
"lefthook"
]
},
"keywords": [
"slack",
"block-kit",
"builder",
"react",
"no-code",
"drag-and-drop",
"slack-app"
]
}