package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "printable-characters",
  3. "version": "1.0.42",
  4. "description": "A little helper for handling strings containing zero width control characters, ANSI styling, whitespaces, newlines, 💩, etc.",
  5. "main": "./build/printable-characters.js",
  6. "scripts": {
  7. "lint": "eslint printable-characters.js",
  8. "lint-test": "eslint printable-characters.js",
  9. "babel": "babel printable-characters.js --source-maps inline --out-file ./build/printable-characters.js",
  10. "build": "npm run lint && npm run lint-test && npm run babel",
  11. "test": "npm run build && env PRINTABLE_CHARACTERS_TEST_FILE=./build/printable-characters.js nyc --reporter=html --reporter=text mocha --reporter spec",
  12. "autotest": "env PRINTABLE_CHARACTERS_TEST_FILE=./printable-characters.js mocha --reporter spec --watch",
  13. "coveralls": "nyc report --reporter=text-lcov | coveralls"
  14. },
  15. "repository": {
  16. "type": "git",
  17. "url": "https://github.com/xpl/printable-characters.git"
  18. },
  19. "keywords": [
  20. "string width",
  21. "string length",
  22. "real string width",
  23. "real string length",
  24. "optical string width",
  25. "printed width",
  26. "unicode",
  27. "codepoints",
  28. "code points",
  29. "strlen",
  30. "zero width",
  31. "zero width symbols",
  32. "zero width characters",
  33. "visible characters",
  34. "visible symbols",
  35. "visible",
  36. "invisible",
  37. "invisible symbols",
  38. "invisible characters",
  39. "printable",
  40. "printable length",
  41. "printable symbols",
  42. "printable characters",
  43. "non-printable characters",
  44. "nonprintable characters",
  45. "characters",
  46. "symbols",
  47. "string length",
  48. "real string length",
  49. "string trimming",
  50. "trimming",
  51. "escapes",
  52. "escape codes",
  53. "codes",
  54. "ansi escapes",
  55. "tokenizing",
  56. "ansi",
  57. "whitespaces"
  58. ],
  59. "author": "Vitaly Gordon <rocket.mind@gmail.com>",
  60. "license": "Unlicense",
  61. "homepage": "https://github.com/xpl/printable-characters",
  62. "devDependencies": {
  63. "babel-cli": "^6.26.0",
  64. "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0",
  65. "babel-plugin-transform-es2015-destructuring": "^6.23.0",
  66. "coveralls": "^2.13.3",
  67. "eslint": "^4.8.0",
  68. "istanbul": "^0.4.5",
  69. "mocha": "^3.5.3",
  70. "nyc": "^11.2.1"
  71. }
  72. }