package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "isbinaryfile",
  3. "description": "Detects if a file is binary in Node.js. Similar to Perl's -B.",
  4. "version": "4.0.10",
  5. "keywords": [
  6. "text",
  7. "binary",
  8. "encoding",
  9. "istext",
  10. "is text",
  11. "isbinary",
  12. "is binary",
  13. "is text or binary",
  14. "is text or binary file",
  15. "isbinaryfile",
  16. "is binary file",
  17. "istextfile",
  18. "is text file"
  19. ],
  20. "devDependencies": {
  21. "@types/jest": "^23.3.14",
  22. "@types/node": "^10.17.59",
  23. "jest": "^26.5.5",
  24. "prettier": "^1.19.1",
  25. "release-it": "^14.13.1",
  26. "ts-jest": "^26.5.5",
  27. "tslint": "^5.20.1",
  28. "tslint-config-prettier": "^1.18.0",
  29. "typescript": "^3.9.9"
  30. },
  31. "engines": {
  32. "node": ">= 8.0.0"
  33. },
  34. "files": [
  35. "lib/**/*"
  36. ],
  37. "license": "MIT",
  38. "main": "lib/index.js",
  39. "types": "lib/index.d.ts",
  40. "maintainers": [
  41. {
  42. "name": "Garen J. Torikian",
  43. "email": "gjtorikian@gmail.com"
  44. }
  45. ],
  46. "funding": "https://github.com/sponsors/gjtorikian/",
  47. "repository": {
  48. "type": "git",
  49. "url": "https://github.com/gjtorikian/isBinaryFile"
  50. },
  51. "scripts": {
  52. "build": "tsc",
  53. "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\" && tslint --fix -c tslint.json 'src/**/*.ts'",
  54. "lint": "tslint -p tsconfig.json",
  55. "prepare": "npm run build",
  56. "release": "release-it",
  57. "prepublishOnly": "npm test && npm run lint",
  58. "preversion": "npm run lint",
  59. "version": "npm run format && git add -A src",
  60. "postversion": "git push && git push --tags",
  61. "test": "jest --config jestconfig.json",
  62. "watch": "tsc -w"
  63. }
  64. }