UNPKG

nano-staged

Version:

Tiny tool to run commands for modified, staged, and committed git files.

60 lines 1.38 kB
{ "name": "nano-staged", "version": "0.9.0", "description": "Tiny tool to run commands for modified, staged, and committed git files.", "author": "Usman Yunusov <usman.iunusov@gmail.com>", "license": "MIT", "repository": "usmanyunusov/nano-staged", "type": "module", "bin": "./lib/bin.js", "exports": "./lib/index.js", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "dependencies": { "picocolors": "^1.0.0" }, "devDependencies": { "c8": "^10.1.3", "clean-publish": "^3.4.5", "cross-env": "^7.0.3", "esmock": "^2.7.2", "fs-extra": "^10.1.0", "nanodelay": "^2.0.2", "nanoid": "^5.1.5", "prettier": "^3.6.2", "uvu": "^0.5.3" }, "clean-publish": { "cleanDocs": true }, "prettier": { "printWidth": 100, "semi": false, "singleQuote": true }, "c8": { "include": [ "lib/**/*" ], "lines": 100, "check-coverage": true }, "keywords": [ "runner", "lint", "git", "staged", "unstaged", "diff", "eslint", "prettier", "stylelint" ], "scripts": { "lint": "prettier --write lib/**/*.js", "unit": "cross-env CI=true node --loader=esmock --no-warnings ./node_modules/uvu/bin.js test \"\\.test\\.js$\"", "test": "c8 pnpm unit", "bench": "node bench/running-time/index.js && node bench/size/index.js" } }