UNPKG

react-monaco-editor

Version:
141 lines (140 loc) 4.61 kB
{ "title": "Is Text or Binary?", "name": "istextorbinary", "version": "2.2.1", "description": "Determines if a buffer is comprised of text or binary", "homepage": "https://github.com/bevry/istextorbinary", "license": "MIT", "keywords": [ "text", "binary", "encoding", "istext", "is text", "isbinary", "is binary", "is text or binary", "is text or binary file", "isbinaryfile", "is binary file", "istextfile", "is text file" ], "badges": { "list": [ "travisci", "npmversion", "npmdownloads", "daviddm", "daviddmdev", "---", "patreon", "opencollective", "gratipay", "flattr", "paypal", "bitcoin", "wishlist", "---", "slackin" ], "config": { "patreonUsername": "bevry", "opencollectiveUsername": "bevry", "gratipayUsername": "bevry", "flattrUsername": "balupton", "paypalURL": "https://bevry.me/paypal", "bitcoinURL": "https://bevry.me/bitcoin", "wishlistURL": "https://bevry.me/wishlist", "slackinURL": "https://slack.bevry.me" } }, "author": "2012+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me), 2011 Benjamin Lupton <b@lupton.cc> (http://balupton.com)", "maintainers": [ "Benjamin Lupton <b@lupton.cc> (http://balupton.com)", "Rob Loach <robloach@gmail.com> (https://github.com/robloach)", "Michael Mooring <mike@mdm.cc> (https://github.com/mikeumus)" ], "contributors": [ "Benjamin Lupton <b@lupton.cc> (http://balupton.com)", "Shinnosuke Watanabe <snnskwtnb@gmail.com> (http://shinnn.github.io)", "Ian Sibner <sibnerian@gmail.com> (http://www.sibnerian.com/)", "Sean <albinodrought@gmail.com> (https://github.com/AlbinoDrought)" ], "bugs": { "url": "https://github.com/bevry/istextorbinary/issues" }, "repository": { "type": "git", "url": "https://github.com/bevry/istextorbinary.git" }, "engines": { "node": ">=0.12" }, "editions": [ { "description": "Source + ESNext + Require", "entry": "index.js", "directory": "source", "syntaxes": [ "javascript", "esnext", "require", "const", "let", "forof", "destructuring", "defaults" ] }, { "description": "Babel Compiled + ES2015 + Require", "entry": "index.js", "directory": "es2015", "syntaxes": [ "javascript", "es2015", "require" ] } ], "main": "index.js", "browser": "es2015/index.js", "dependencies": { "binaryextensions": "2", "editions": "^1.3.3", "textextensions": "2" }, "devDependencies": { "assert-helpers": "^4.5.0", "babel-cli": "^6.26.0", "babel-preset-es2015": "^6.24.1", "documentation": "^5.3.5", "eslint": "^4.16.0", "joe": "^2.0.2", "joe-reporter-console": "^2.0.1", "projectz": "^1.4.0", "surge": "^0.19.0" }, "scripts": { "our:setup": "npm run our:setup:npm", "our:setup:npm": "npm install", "our:clean": "rm -Rf ./docs ./es2015 ./es5 ./out", "our:compile": "npm run our:compile:es2015", "our:compile:es2015": "babel ./source --out-dir ./es2015 --presets es2015", "our:meta": "npm run our:meta:docs && npm run our:meta:projectz", "our:meta:docs": "documentation build -f html -o ./docs -g --shallow ./source/**.js", "our:meta:projectz": "projectz compile", "our:verify": "npm run our:verify:eslint", "our:verify:eslint": "eslint --fix ./source", "our:test": "npm run our:verify && npm test", "our:release": "npm run our:release:prepare && npm run our:release:check && npm run our:release:tag && npm run our:release:push", "our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta", "our:release:check": "npm run our:release:check:changelog && npm run our:release:check:dirty", "our:release:check:changelog": "cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)", "our:release:check:dirty": "git diff --exit-code", "our:release:tag": "export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"", "our:release:push": "git push origin master && git push origin --tags", "test": "node --harmony ./test.js --joe-reporter=console" } }