UNPKG

break-cache

Version:
52 lines (51 loc) 1.6 kB
{ "name": "break-cache", "version": "1.0.3", "description": "Generic cache breaker", "main": "break-cache.js", "scripts": { "preversion": "npm run reinstall && npm run lint && npm t && npm run break-cache-commit", "postversion": "git add -A . && git push && git push --tags", "reinstall": "npm run clean && shx rm -rf node_modules && npm i", "clean": "shx rm -rf .nyc_output coverage", "pretest": "shx mkdir -p test/temp", "test": "tap test/*.js --cov --coverage-report=lcov", "posttest": "shx rm -rf test/temp", "lint": "eslint break-cache.js tests/*.js", "coverage": "cat coverage/lcov.info | coveralls", "break-cache": "node ./break-cache-cli.js -i README.md -m \"\\.svg(?=[^'])\" -o README.md", "break-cache-commit": "npm run break-cache && git commit -am \"[skip ci] readme cache break\"" }, "files": [ "break-cache.js", "break-cache-cli.js" ], "bin": { "break-cache": "./break-cache-cli.js" }, "repository": { "type": "git", "url": "git+https://github.com/iyegoroff/break-cache.git" }, "keywords": [ "cache-breaker" ], "author": "iyegoroff <iegoroff@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/iyegoroff/break-cache/issues" }, "homepage": "https://github.com/iyegoroff/break-cache#readme", "devDependencies": { "coveralls": "^2.11.15", "eslint": "^3.12.2", "semistandard": "^9.2.1", "shx": "^0.2.1", "tap": "^8.0.1" }, "dependencies": { "command-line-args": "^3.0.5", "command-line-usage": "^3.0.8", "prmzfy": "^1.2.6" } }