tiptap-model-language 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,96 @@
1
+ {
2
+ "name": "tiptap-model-language",
3
+ "version": "1.0.0",
4
+ "description": "A Tiptap extension for the model-language template syntax: raw-text {{…}} highlighting, staged type-aware autocomplete (variables, filters, control blocks), hover diagnostics and local validation via the model-language engine.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "main": "./dist/index.cjs",
8
+ "module": "./dist/index.js",
9
+ "types": "./dist/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.js",
14
+ "require": "./dist/index.cjs"
15
+ }
16
+ },
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "sideEffects": false,
21
+ "engines": {
22
+ "node": ">=18"
23
+ },
24
+ "packageManager": "pnpm@10.13.1",
25
+ "scripts": {
26
+ "build": "tsup",
27
+ "prepublishOnly": "pnpm build",
28
+ "dev": "tsup --watch",
29
+ "typecheck": "tsc --noEmit",
30
+ "test": "vitest run",
31
+ "test:watch": "vitest",
32
+ "test:cov": "vitest run --coverage",
33
+ "lint": "biome check .",
34
+ "lint:fix": "biome check --write .",
35
+ "format": "biome format --write ."
36
+ },
37
+ "keywords": [
38
+ "tiptap",
39
+ "prosemirror",
40
+ "model-language",
41
+ "template",
42
+ "template-editor",
43
+ "prompt",
44
+ "prompt-editor",
45
+ "editor",
46
+ "autocomplete",
47
+ "validation",
48
+ "syntax-highlighting"
49
+ ],
50
+ "repository": {
51
+ "type": "git",
52
+ "url": "git+https://github.com/wexiohub/tiptap-model-language.git"
53
+ },
54
+ "bugs": {
55
+ "url": "https://github.com/wexiohub/tiptap-model-language/issues"
56
+ },
57
+ "homepage": "https://ml.wexio.io",
58
+ "publishConfig": {
59
+ "access": "public"
60
+ },
61
+ "pnpm": {
62
+ "onlyBuiltDependencies": [
63
+ "esbuild"
64
+ ]
65
+ },
66
+ "peerDependencies": {
67
+ "@tiptap/core": "^3",
68
+ "@tiptap/pm": "^3",
69
+ "@tiptap/react": "^3",
70
+ "@tiptap/suggestion": "^3",
71
+ "react": ">=18",
72
+ "react-dom": ">=18"
73
+ },
74
+ "dependencies": {
75
+ "clsx": "^2",
76
+ "date-fns": "^4",
77
+ "model-language": "^1",
78
+ "tailwind-merge": "^3",
79
+ "tippy.js": "^6"
80
+ },
81
+ "devDependencies": {
82
+ "@biomejs/biome": "^2.5.2",
83
+ "@tiptap/core": "^3.23.4",
84
+ "@tiptap/pm": "^3.23.4",
85
+ "@tiptap/react": "^3.23.4",
86
+ "@tiptap/suggestion": "^3.23.4",
87
+ "@types/node": "^20.19.24",
88
+ "@types/react": "^19.2.2",
89
+ "@vitest/coverage-v8": "^4.1.10",
90
+ "react": "^19.2.0",
91
+ "react-dom": "^19.2.0",
92
+ "tsup": "^8.3.5",
93
+ "typescript": "^5.7.2",
94
+ "vitest": "^4.1.10"
95
+ }
96
+ }