UNPKG

@django-vite/vite-server

Version:

This provide cli to start Express Server with Chokidar to detect any file changes and send events.

49 lines 1.36 kB
{ "name": "@django-vite/vite-server", "version": "1.0.1", "description": "This provide cli to start Express Server with Chokidar to detect any file changes and send events.", "main": "./dist/server.js", "author": "Sachin Acharya", "license": "ISC", "private": false, "bin": { "django-vite-hmr": "./dist/server.js" }, "scripts": { "dev": "tsx src/server.ts", "watch": "tsc --watch", "build": "tsc --build", "prepublish": "yarn build" }, "repository": { "type": "git", "url": "git+https://github.com/django-vite-hmr/vite-server.git" }, "bugs": { "url": "https://github.com/django-vite-hmr/vite-server/issues" }, "homepage": "https://github.com/django-vite-hmr/vite-server#readme", "keywords": [ "django-vite", "vite-hmr", "django-hot-reload" ], "dependencies": { "chokidar": "^3.6.0", "express": "^4.19.2", "vite": "^5.4.3", "ws": "^8.18.0" }, "devDependencies": { "@types/express": "^4.17.21", "@types/node": "^22.5.4", "@types/ws": "^8.5.12", "tsx": "^4.19.0", "typescript": "^5.5.4" }, "type": "module", "files": [ "views/", "dist/" ] }