@olegjs/on-change
Version:
CLI tool to run a command if file has changed since the last time that command was run
86 lines (85 loc) • 1.67 kB
JSON
{
"name": "@olegjs/on-change",
"version": "3.0.1",
"description": "CLI tool to run a command if file has changed since the last time that command was run",
"keywords": [
"CLI",
"auto",
"automate",
"branch",
"change",
"checksum",
"command",
"dev",
"development",
"file",
"git",
"install",
"modules",
"npm",
"package-lock",
"packages",
"script",
"sha",
"switch",
"tool"
],
"repository": "github:olegjs/on-change",
"license": "ISC",
"author": "Oleg",
"main": "./src/cli.js",
"bin": {
"on-change": "./src/cli.js"
},
"files": [
"src/*.js",
"!src/*.test.js"
],
"scripts": {
"coverage": "nyc npm test",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"lint": "eslint ./src/",
"prepublishOnly": "npm run lint && npm run coverage",
"report": "nyc report --reporter=lcovonly",
"start": "node src/cli.js",
"test": "node test.js"
},
"prettier": {
"proseWrap": "always",
"semi": false,
"singleQuote": true,
"trailingComma": "all"
},
"eslintConfig": {
"env": {
"node": true
},
"parserOptions": {
"ecmaVersion": 2017
},
"extends": [
"eslint:recommended",
"prettier"
]
},
"nyc": {
"branches": 100,
"check-coverage": true,
"functions": 100,
"lines": 100,
"reporter": [
"text"
],
"statements": 100
},
"dependencies": {
"chalk": "^4.1.1",
"yargs": "^17.0.1"
},
"devDependencies": {
"coveralls": "^3.1.0",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"nyc": "^15.1.0"
}
}