UNPKG

hash-runner

Version:

Executes a command when a change is detected in specified files. Not an active file watcher.

90 lines 2.48 kB
{ "name": "hash-runner", "description": "Executes a command when a change is detected in specified files. Not an active file watcher.", "version": "2.0.1", "main": "dist/cjs/index.js", "exports": { ".": { "import": "./dist/esm/index.mjs", "require": "./dist/cjs/index.js" } }, "author": "Theo Gravity <theo@suteki.nu>", "keywords": [ "build", "hash", "runner", "watch", "turbo", "execute", "run", "command", "change", "detect" ], "dependencies": { "commander": "12.1.0", "debug": "4.3.7", "glob": "11.0.0", "lilconfig": "3.1.2" }, "devDependencies": { "@biomejs/biome": "1.9.0", "@changesets/changelog-github": "0.5.0", "@changesets/cli": "2.27.8", "@commitlint/cli": "19.5.0", "@commitlint/config-conventional": "19.5.0", "@types/node": "22.5.5", "husky": "9.1.6", "lint-staged": "15.2.10", "syncpack": "13.0.0", "turbo": "2.1.2", "typescript": "5.6.2", "vitest": "2.1.1" }, "bin": { "hash-runner": "dist/cjs/bin/hash-runner.js" }, "bugs": "https://github.com/theogravity/hash-runner/issues", "engines": { "node": ">=20" }, "files": [ "dist" ], "homepage": "https://github.com/theogravity/hash-runner", "license": "MIT", "lint-staged": { "**/*.{js,jsx,ts,tsx,html,css,json}": [ "pnpm run lint" ], "**/package.json": [ "pnpm run syncpack:format", "pnpm run syncpack:lint" ] }, "publishConfig": { "access": "public" }, "repository": "git@github.com:theogravity/hash-runner.git", "scripts": { "pre-build": "hash-runner", "build": "rm -rf dist && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && ./post-build.sh", "changeset": "changeset", "add-changeset": "changeset add", "clean": "rm -rf node_modules dist", "debug": "ts-node-dev --inspect -- src/index.ts", "debug:break": "ts-node-dev --inspect-brk -- src/index.ts", "lint": "biome check --write --unsafe src && biome format src --write && biome lint src --fix", "lint-staged": "lint-staged", "release": "changeset publish", "syncpack:update": "syncpack update", "syncpack:fix": "syncpack fix-mismatches", "syncpack:format": "syncpack format", "syncpack:lint": "syncpack lint", "test": "IS_TEST=true vitest run", "test:watch": "IS_TEST=true vitest", "typecheck": "tsc --noEmit", "version-packages": "changeset version" } }