@bolttech/template-editor 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bolttech/template-editor",
3
3
  "private": false,
4
- "version": "0.0.1",
4
+ "version": "0.0.2",
5
5
  "type": "module",
6
6
  "main": "./dist/template-editor.umd.js",
7
7
  "module": "./dist/template-editor.es.js",
@@ -27,9 +27,14 @@
27
27
  "npm": ">=10.9"
28
28
  },
29
29
  "scripts": {
30
- "dev": "vite",
31
- "build": "npm run lint && tsc -b && vite build",
32
- "build:lib": "npm run lint && tsc -b && vite build --mode lib",
30
+ "start": "node server",
31
+ "start:dev": "node server",
32
+ "start:prod": "node server --prod",
33
+ "build": "npm run lint && tsc -b",
34
+ "build:client": "vite build --mode app --outDir dist/client",
35
+ "build:server": "vite build --mode app --outDir dist/server --ssr src/entry-server.tsx ",
36
+ "build:app": "npm run build && npm run build:client && npm run build:server",
37
+ "build:lib": "npm run build && vite build --mode lib",
33
38
  "lint": "eslint .",
34
39
  "preview": "vite preview",
35
40
  "format": "eslint . --fix && prettier --write .",
@@ -39,18 +44,21 @@
39
44
  "test:coverage": "vitest run --coverage",
40
45
  "test:watch": "vitest --watch",
41
46
  "ci": "npm run lint && npm run test:run && npm run build",
42
- "prepare": "husky"
47
+ "prepare": "npx -y husky"
43
48
  },
44
49
  "dependencies": {
50
+ "@bolttech/templating-sdk": "^0.1.2",
45
51
  "@craftjs/core": "^0.2.12",
46
52
  "@craftjs/utils": "^0.2.5",
47
53
  "@monaco-editor/react": "^4.7.0",
54
+ "express": "^5.1.0",
48
55
  "handlebars": "^4.7.8",
49
56
  "htmlparser2": "^10.0.0",
50
57
  "re-resizable": "^6.11.2",
51
58
  "react-icons": "^5.5.0",
52
59
  "react-shadow": "^20.6.0",
53
- "sanitize-html": "^2.17.0"
60
+ "sirv": "^3.0.2",
61
+ "vite": "^7.1.7"
54
62
  },
55
63
  "peerDependencies": {
56
64
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
@@ -64,11 +72,11 @@
64
72
  "@trivago/prettier-plugin-sort-imports": "^5.2.2",
65
73
  "@types/htmlparser2": "^3.10.7",
66
74
  "@types/react": "^19.1.8",
67
- "@types/react-dom": "^19.1.6",
68
- "@types/sanitize-html": "^2.16.0",
75
+ "@types/react-dom": "^19.1.9",
69
76
  "@vitejs/plugin-react": "^5.0.2",
70
77
  "@vitest/coverage-v8": "^3.2.4",
71
78
  "autoprefixer": "^10.4.21",
79
+ "compression": "^1.8.1",
72
80
  "eslint": "^9.30.1",
73
81
  "eslint-config-prettier": "^10.1.8",
74
82
  "eslint-plugin-prettier": "^5.5.4",
@@ -83,12 +91,13 @@
83
91
  "postcss-prefix-selector": "^2.1.1",
84
92
  "prettier": "^3.6.2",
85
93
  "prettier-plugin-tailwindcss": "^0.6.14",
94
+ "react-router-dom": "^7.9.1",
86
95
  "rollup-plugin-visualizer": "^6.0.3",
87
96
  "tailwindcss": "^3.4.17",
88
97
  "typescript": "^5.9.2",
89
98
  "typescript-eslint": "^8.35.1",
90
- "vite": "^7.0.3",
91
99
  "vite-plugin-dts": "^4.5.4",
100
+ "vite-plugin-runtime-env": "^1.0.0",
92
101
  "vitest": "^3.2.4",
93
102
  "webpack-bundle-analyzer": "^4.10.2"
94
103
  },