UNPKG

uninspected

Version:

util.inspect replacement based on Unexpected's output and type system

66 lines (65 loc) 2.33 kB
{ "name": "uninspected", "version": "5.0.0", "description": "util.inspect replacement based on Unexpected's output and type system", "main": "./lib/uninspected", "dependencies": { "eslint-plugin-n": "^15.1.0", "magicpen-prism": "^5.0.0", "unexpected": "^13.0.1" }, "devDependencies": { "coveralls": "^3.0.2", "eslint": "^8.6.0", "eslint-config-prettier": "^8.2.0", "eslint-config-standard": "^17.0.0", "eslint-plugin-import": "^2.18.2", "eslint-plugin-mocha": "^10.0.1", "eslint-plugin-promise": "^6.0.0", "mocha": "^8.3.0", "nyc": "^15.0.0", "offline-github-changelog": "^2.0.0", "prettier": "~2.5.0", "rollup": "^2.0.3", "rollup-plugin-commonjs": "^10.0.0", "rollup-plugin-json": "^4.0.0", "rollup-plugin-node-globals": "^1.4.0", "rollup-plugin-node-resolve": "^5.0.4", "rollup-plugin-terser": "^7.0.0", "sinon": "^12.0.1", "unexpected-sinon": "^11.0.0" }, "scripts": { "lint": "eslint . && prettier --check '**/*.{js,md}'", "test": "mocha", "test:ci": "npm run coverage", "coverage": "NODE_ENV=development nyc --reporter=lcov --reporter=text --all -- npm test && echo google-chrome coverage/lcov-report/index.html", "build": "rollup --config rollup.config.js --sourcemap --format umd --name uninspected -o uninspected.js lib/uninspected.js", "bookmarklet": "npm run build && (echo -n '<!DOCTYPE html><html><body><a href=\"javascript:' && <uninspected.js sed -e 's/&/\\&amp;/g;' | sed -e 's/\"/\\&quot;/g;' | tr -d '\\n' && echo -n '%0a;console=uninspected;void(null);\">Replace the console object with uninspected</a></body></html>') > bookmarklet.html", "prepublishOnly": "npm run bookmarklet", "preversion": "offline-github-changelog --next=${npm_new_version} > CHANGELOG.md && git add CHANGELOG.md" }, "repository": { "type": "git", "url": "git://github.com/unexpectedjs/uninspected.git" }, "keywords": [ "util", "inspect", "object", "depth", "color", "types" ], "author": "Andreas Lind <andreaslindpetersen@gmail.com>", "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/unexpectedjs/uninspected/issues" }, "homepage": "https://github.com/unexpectedjs/uninspected", "nyc": { "include": [ "lib/**" ] } }