@trokky/studio 2.0.3

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,107 @@
1
+ {
2
+ "name": "@trokky/studio",
3
+ "version": "2.0.3",
4
+ "description": "Trokky Studio v2 - Zero-config content management interface",
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "vite --port 5173",
8
+ "dev:server": "tsc src/index.ts src/server/assets.ts src/utils/logger.ts --outDir dist --module esnext --target es2020 --skipLibCheck --moduleResolution node --allowSyntheticDefaultImports --esModuleInterop --declaration --watch",
9
+ "build": "vite build && npm run build:server",
10
+ "build:single": "vite build --config vite.single.config.ts",
11
+ "build:server": "tsc src/index.ts src/server/assets.ts src/utils/logger.ts --outDir dist --module esnext --target es2020 --skipLibCheck --moduleResolution node --allowSyntheticDefaultImports --esModuleInterop --declaration",
12
+ "preview": "vite preview",
13
+ "type-check": "tsc --noEmit",
14
+ "lint": "eslint src --ext ts,tsx",
15
+ "test": "vitest run",
16
+ "test:watch": "vitest",
17
+ "test:coverage": "vitest run --coverage"
18
+ },
19
+ "dependencies": {
20
+ "@fortawesome/fontawesome-free": "^7.1.0",
21
+ "@headlessui/react": "^2.2.0",
22
+ "@heroicons/react": "^2.2.0",
23
+ "@portabletext/editor": "^1.1.0",
24
+ "@simplewebauthn/browser": "^13.2.2",
25
+ "@tanstack/react-query": "^5.0.0",
26
+ "@tiptap/core": "^3.31.3",
27
+ "@tiptap/extension-code-block-lowlight": "^3.31.3",
28
+ "@tiptap/extension-image": "^3.31.3",
29
+ "@tiptap/extension-table": "^3.31.3",
30
+ "@tiptap/extensions": "^3.31.3",
31
+ "@tiptap/pm": "^3.31.3",
32
+ "@tiptap/react": "^3.31.3",
33
+ "@tiptap/starter-kit": "^3.31.3",
34
+ "@trokky/trokky": "^2.0.3",
35
+ "clsx": "^2.0.0",
36
+ "date-fns": "^2.29.0",
37
+ "express": "^4.18.0",
38
+ "is-glob": "^4.0.3",
39
+ "lowlight": "^3.1.0",
40
+ "react": "^19.0.0",
41
+ "react-dom": "^19.0.0",
42
+ "react-router": "^7.18.3",
43
+ "util-deprecate": "^1.0.2",
44
+ "zustand": "^4.4.0"
45
+ },
46
+ "devDependencies": {
47
+ "@testing-library/jest-dom": "^6.9.1",
48
+ "@testing-library/react": "^16.3.2",
49
+ "@types/express": "^4.17.0",
50
+ "@types/node": "^20.0.0",
51
+ "@types/react": "^19.0.0",
52
+ "@types/react-dom": "^19.0.0",
53
+ "@typescript-eslint/eslint-plugin": "^8.70.0",
54
+ "@typescript-eslint/parser": "^8.70.0",
55
+ "@vitejs/plugin-react": "^6.1.1",
56
+ "@vitest/coverage-v8": "^4.1.0",
57
+ "autoprefixer": "^10.4.14",
58
+ "eslint": "^8.42.0",
59
+ "eslint-plugin-react-hooks": "^4.6.0",
60
+ "eslint-plugin-react-refresh": "^0.4.0",
61
+ "jsdom": "^29.0.1",
62
+ "postcss": "^8.4.24",
63
+ "rollup": "^4.63.1",
64
+ "tailwindcss": "^3.4.0",
65
+ "typescript": "^5.0.0",
66
+ "vite": "^8.2.2",
67
+ "vite-plugin-singlefile": "^2.3.3",
68
+ "vitest": "^4.1.0"
69
+ },
70
+ "exports": {
71
+ ".": {
72
+ "import": "./dist/index.js",
73
+ "types": "./dist/index.d.ts"
74
+ },
75
+ "./standalone": {
76
+ "import": "./dist/index.js",
77
+ "types": "./dist/index.d.ts"
78
+ },
79
+ "./dist/server/assets.js": {
80
+ "import": "./dist/server/assets.js",
81
+ "types": "./dist/server/assets.d.ts"
82
+ }
83
+ },
84
+ "files": [
85
+ "dist"
86
+ ],
87
+ "engines": {
88
+ "node": "^20.19.0 || >=22.12.0"
89
+ },
90
+ "keywords": [
91
+ "cms",
92
+ "content-management",
93
+ "headless-cms",
94
+ "trokky",
95
+ "studio"
96
+ ],
97
+ "author": "Trokky Team",
98
+ "license": "MIT",
99
+ "repository": {
100
+ "type": "git",
101
+ "url": "git+https://github.com/Trokky/trokky.git"
102
+ },
103
+ "publishConfig": {
104
+ "registry": "https://registry.npmjs.org",
105
+ "access": "public"
106
+ }
107
+ }