UNPKG

badge-size

Version:

Displays the size of a given file in your repository

63 lines (62 loc) 1.52 kB
{ "name": "badge-size", "version": "1.0.0", "description": "Displays the size of a given file in your repository", "author": "Nicolas Gryman <ngryman@gmail.com> (http://ngryman.sh)", "license": "MIT", "repository": "ngryman/badge-size", "main": "index.js", "engines": { "node": "^8.10.0 || >=9.10.0" }, "files": [ "index.js", "lib" ], "scripts": { "lint": "eslint *.js", "unit": "nyc ava", "start": "micro index.js --listen tcp://0.0.0.0:${PORT-3000}", "test": "npm run lint -s && npm run unit -s", "dev": "npm run unit -- --watch", "coverage": "nyc report --reporter=text-lcov | codecov", "check-coverage": "nyc check-coverage --lines 95 --functions 95 --branches 95", "see-coverage": "nyc report --reporter=html && open coverage/index.html", "contributors": "contributor-faces --exclude '*-bot'" }, "precommit": [ "test", "check-coverage", "contributors" ], "keywords": [ "badge", "ci", "github", "gzip", "jpg", "png", "readme", "repository", "size", "svg", "weight" ], "dependencies": { "brotli-size": "^0.0.3", "got": "^9.0.0", "gzip-size": "^5.0.0", "micro": "^9.3.2", "pretty-bytes": "^5.1.0" }, "devDependencies": { "ava": "^0.25.0", "codecov.io": "^0.1.6", "contributor-faces": "^1.0.0", "eslint": "^5.3.0", "eslint-config-ngryman": "^1.7.0", "nyc": "^12.0.2", "pre-commit": "^1.1.3", "test-listen": "^1.0.0" } }