-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.72 KB
/
Copy pathpackage.json
File metadata and controls
126 lines (126 loc) · 3.72 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
{
"name": "@tightknitai/slack-block-kit-validator",
"version": "0.1.16",
"description": "JSON Schema (draft 2020-12) and validation helpers for Slack Block Kit payloads.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./helpers": {
"import": "./dist/helpers.js",
"types": "./dist/helpers.d.ts"
},
"./schema": {
"import": "./dist/schema.js",
"types": "./dist/schema.d.ts"
},
"./schema.json": "./dist/slack-block-kit.schema.json",
"./standalone": {
"import": "./dist/standalone-validator.js",
"types": "./dist/standalone-validator.d.ts"
},
"./types": {
"types": "./dist/types.d.ts",
"import": "./dist/types.js"
}
},
"files": [
"dist"
],
"sideEffects": false,
"scripts": {
"generate:types": "tsx scripts/generate-types.ts",
"compile:standalone": "tsx scripts/build-standalone.ts",
"build": "pnpm run generate:types && tsc && cp src/slack-block-kit.schema.json dist/slack-block-kit.schema.json && pnpm run compile:standalone",
"postbuild": "[ \"$SKIP_DEMO_BUILD\" = \"1\" ] || pnpm run build:demo",
"build:clean": "rm -rf dist && pnpm run build",
"build:demo": "cd demo && pnpm install --frozen-lockfile --ignore-workspace && pnpm run build",
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"bench": "tsx bench/index.ts",
"lint": "biome check .",
"lint:fix": "biome check --fix .",
"format": "biome format --write .",
"validate-schema": "ajv compile --spec=draft2020 --strict=false -c ajv-formats -s src/slack-block-kit.schema.json",
"prepare": "lefthook install",
"prepublishOnly": "SKIP_DEMO_BUILD=1 pnpm run build:clean && pnpm test"
},
"dependencies": {
"ajv": "^8.18.0",
"ajv-formats": "^3.0.1"
},
"devDependencies": {
"@biomejs/biome": "^2.4.11",
"@types/node": "^26.2.0",
"@vitest/coverage-v8": "^4.1.4",
"ajv-cli": "^5.0.0",
"esbuild": "^0.28.0",
"fast-check": "^4.8.0",
"json-schema-to-typescript": "^15.0.4",
"lefthook": "^2.1.5",
"tinybench": "^6.0.2",
"tsx": "^4.22.0",
"typescript": "^7.0.2",
"vite": "~8.2.0",
"vitest": "^4.1.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TightknitAI/slack-block-kit-validator.git"
},
"homepage": "https://github.com/TightknitAI/slack-block-kit-validator",
"bugs": {
"url": "https://github.com/TightknitAI/slack-block-kit-validator/issues"
},
"author": "Tightknit <https://tightknit.ai>",
"license": "MIT",
"engines": {
"node": ">=20"
},
"packageManager": "pnpm@10.32.1",
"keywords": [
"slack",
"slack-api",
"slack-block-kit",
"block-kit",
"blockkit",
"slack-blocks",
"slack-message",
"slack-modal",
"json-schema",
"jsonschema",
"json-schema-validator",
"validator",
"validation",
"ajv",
"typescript",
"schema"
],
"pnpm": {
"overrides": {
"@babel/core@<7.29.6": "^7.29.6",
"@hono/node-server@<2.0.5": "^2.0.5",
"@modelcontextprotocol/sdk@<1.30.0": "^1.30.0",
"body-parser@<2.3.0": "^2.3.0",
"fast-json-patch@<3.1.1": ">=3.1.1",
"brace-expansion@<1.1.16": "^1.1.16",
"fast-uri@<3.1.5": "^3.1.5",
"hono@<4.12.27": "^4.12.27",
"ip-address@<=10.3.0": "^10.3.1",
"js-yaml@<3.15.0": "^3.15.1",
"js-yaml@>=4.0.0 <4.2.0": "^4.2.0",
"undici@>=7.0.0 <7.28.0": "^7.28.0",
"ws@<8.20.1": "^8.20.1"
},
"onlyBuiltDependencies": [
"esbuild",
"lefthook"
]
}
}