UNPKG

hot-hook

Version:

Easy hot module reloading (HMR) for Node.js and ESM

54 lines 1.24 kB
{ "name": "hot-hook", "type": "module", "version": "1.0.0", "description": "Easy hot module reloading (HMR) for Node.js and ESM", "author": "Julien Ripouteau <julien@ripouteau.com>", "license": "MIT", "keywords": [ "hmr", "hot", "reload", "esm", "node" ], "exports": { ".": "./build/src/hot.js", "./loader": "./build/src/loader.js", "./register": "./build/src/register.js", "./import-meta": { "types": "./import-meta.d.ts" } }, "main": "index.js", "files": [ "!build/bin", "!build/tests", "build", "import-meta.d.ts" ], "dependencies": { "chokidar": "^5.0.0", "fast-glob": "^3.3.3", "parse-imports": "^3.0.0", "picomatch": "^4.0.3", "read-package-up": "^12.0.0" }, "devDependencies": { "@types/picomatch": "^4.0.2" }, "publishConfig": { "access": "public", "tag": "latest" }, "scripts": { "clean": "del-cli build", "typecheck": "tsc --noEmit", "lint": "eslint . --ext=.ts", "format": "prettier --write .", "quick:test": "node --import=./tsnode.esm.js --enable-source-maps bin/test.ts", "pretest": "pnpm lint", "test": "c8 pnpm quick:test", "build": "pnpm clean && tsc" } }