package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "name": "html-escaper",
  3. "version": "2.0.2",
  4. "description": "fast and safe way to escape and unescape &<>'\" chars",
  5. "main": "./cjs/index.js",
  6. "unpkg": "min.js",
  7. "scripts": {
  8. "build": "npm run cjs && npm run rollup && npm run minify && npm test && npm run size",
  9. "cjs": "ascjs esm cjs",
  10. "coveralls": "cat ./coverage/lcov.info | coveralls",
  11. "minify": "uglifyjs index.js --comments=/^!/ --compress --mangle -o min.js",
  12. "rollup": "rollup --config rollup.config.js",
  13. "size": "cat index.js | wc -c;cat min.js | wc -c;gzip -c min.js | wc -c",
  14. "test": "istanbul cover ./test/index.js"
  15. },
  16. "module": "./esm/index.js",
  17. "repository": {
  18. "type": "git",
  19. "url": "https://github.com/WebReflection/html-escaper.git"
  20. },
  21. "keywords": [
  22. "html",
  23. "escape",
  24. "encode",
  25. "unescape",
  26. "decode",
  27. "entities"
  28. ],
  29. "author": "Andrea Giammarchi",
  30. "license": "MIT",
  31. "bugs": {
  32. "url": "https://github.com/WebReflection/html-escaper/issues"
  33. },
  34. "homepage": "https://github.com/WebReflection/html-escaper",
  35. "devDependencies": {
  36. "ascjs": "^3.1.2",
  37. "coveralls": "^3.0.11",
  38. "istanbul": "^0.4.5",
  39. "rollup": "^2.1.0",
  40. "uglify-js": "^3.8.0"
  41. }
  42. }