enso/app/ydoc-server-nodejs/package.json
Paweł Grabarz 4d2cc04e17
More robust ydoc server watch (#10817)
Fixed occasional issues with ydoc server starting in dev mode, which were caused by missing dist file, then nodemon failing to trigger a file watch event after esbuild completion. Now esbuild is directly responsible for managing a child process, without needing an additional layer of file watchers.
2024-08-14 13:17:53 +00:00

28 lines
654 B
JSON

{
"version": "0.1.0",
"name": "ydoc-server-nodejs",
"private": true,
"type": "module",
"author": {
"name": "Enso Team",
"email": "contact@enso.org"
},
"module": "./dist/main.mjs",
"scripts": {
"compile": "node ./build.mjs build",
"start": "node ./dist/main.mjs",
"dev:watch": "node ./build.mjs watch",
"lint": "eslint .",
"format": "prettier --version && prettier --write src/ && eslint . --fix"
},
"dependencies": {
"ydoc-server": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.11.21",
"esbuild": "^0.23.0",
"esbuild-plugin-wasm": "^1.1.0",
"typescript": "^5.5.3"
}
}