build(editor): blog editor JS build and drift gate
- Private ESM package with exact pins: @tiptap/core, pm, starter-kit, extension-table and extension-image 3.31.4; vite 7.3.5, vitest 3.2.7, happy-dom 20.11.6 and typescript 5.9.3, the admin SPA toolchain - vite.config.ts builds assets/src/blogeditor/index.ts into fixed-name assets/dist/blogeditor.js and blogeditor.css, minified, and runs vitest on happy-dom - scripts/check-dist.sh rebuilds into a temp dir and fails when assets/dist is stale; node_modules is ignored
This commit is contained in:
26
package.json
Normal file
26
package.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"name": "golem15-journal-blogeditor",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"engines": {
|
||||
"node": ">=22.6"
|
||||
},
|
||||
"scripts": {
|
||||
"typecheck": "tsc --noEmit",
|
||||
"build": "tsc --noEmit && vite build",
|
||||
"test": "vitest run"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tiptap/core": "3.31.4",
|
||||
"@tiptap/extension-image": "3.31.4",
|
||||
"@tiptap/extension-table": "3.31.4",
|
||||
"@tiptap/pm": "3.31.4",
|
||||
"@tiptap/starter-kit": "3.31.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"happy-dom": "20.11.6",
|
||||
"typescript": "5.9.3",
|
||||
"vite": "7.3.5",
|
||||
"vitest": "3.2.7"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user