package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "name": "entities",
  3. "version": "1.1.2",
  4. "description": "Encode & decode XML/HTML entities with ease",
  5. "author": "Felix Boehm <me@feedic.com>",
  6. "keywords": [
  7. "html",
  8. "xml",
  9. "entity",
  10. "decoding",
  11. "encoding"
  12. ],
  13. "main": "./index.js",
  14. "directories": {
  15. "test": "test"
  16. },
  17. "devDependencies": {
  18. "mocha": "^5.0.1",
  19. "mocha-lcov-reporter": "*",
  20. "coveralls": "*",
  21. "istanbul": "*",
  22. "jshint": "2"
  23. },
  24. "scripts": {
  25. "test": "mocha && npm run lint",
  26. "lint": "jshint index.js lib/*.js test/*.js",
  27. "lcov": "istanbul cover _mocha --report lcovonly -- -R spec",
  28. "coveralls": "npm run lint && npm run lcov && (cat coverage/lcov.info | coveralls || exit 0)"
  29. },
  30. "repository": {
  31. "type": "git",
  32. "url": "git://github.com/fb55/entities.git"
  33. },
  34. "license": "BSD-2-Clause",
  35. "jshintConfig": {
  36. "eqeqeq": true,
  37. "freeze": true,
  38. "latedef": "nofunc",
  39. "noarg": true,
  40. "nonbsp": true,
  41. "quotmark": "double",
  42. "undef": true,
  43. "unused": true,
  44. "trailing": true,
  45. "eqnull": true,
  46. "proto": true,
  47. "smarttabs": true,
  48. "node": true,
  49. "globals": {
  50. "describe": true,
  51. "it": true
  52. }
  53. },
  54. "prettier": {
  55. "tabWidth": 4
  56. }
  57. }