UNPKG

browser-reloader

Version:

A lightweight, configurable file watcher with live-reload capability for browser development via WebSocket.

78 lines (77 loc) 1.98 kB
{ "name": "browser-reloader", "version": "0.2.0", "description": "A lightweight, configurable file watcher with live-reload capability for browser development via WebSocket.", "license": "MIT", "bin": { "reloader": "./dist/cli.js" }, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js", "default": "./dist/index.js" } }, "scripts": { "build": "tsup", "test": "jest", "lint": "eslint", "format": "prettier --ignore-path .gitignore --write \"./src/**/*.+(js|ts|json)\"", "prepare": "husky" }, "keywords": [ "live-reload", "watcher", "hot-reload", "websocket", "dev-tool", "file-watcher", "reloader", "nodejs", "frontend-dev" ], "author": "Rashed Iqbal <dev.rashediqbal@gmail.com>", "repository": { "type": "git", "url": "https://github.com/iqbal-rashed/browser-reloader.git" }, "homepage": "https://github.com/iqbal-rashed/browser-reloader#readme", "bugs": { "url": "https://github.com/iqbal-rashed/browser-reloader/issues" }, "engines": { "node": ">=16.0.0" }, "files": [ "dist/**/*" ], "devDependencies": { "@eslint/js": "^9.23.0", "@types/express": "^5.0.1", "@types/jest": "^29.5.14", "@types/node": "^22.13.11", "@types/ws": "^8.18.1", "eslint": "^9.23.0", "globals": "^16.0.0", "husky": "^9.1.7", "jest": "^29.7.0", "ts-jest": "^29.2.6", "tsup": "^8.4.0", "tsx": "^4.19.3", "typescript": "^5.8.2", "typescript-eslint": "^8.27.0" }, "dependencies": { "chokidar": "^4.0.3", "commander": "^13.1.0", "cosmiconfig": "^9.0.0", "cosmiconfig-typescript-loader": "^6.1.0", "express": "^5.1.0", "ws": "^8.18.1" } }