package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "xss",
  3. "main": "./lib/index.js",
  4. "typings": "./typings/xss.d.ts",
  5. "version": "1.0.15",
  6. "description": "Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist",
  7. "author": "Zongmin Lei <leizongmin@gmail.com> (http://ucdok.com)",
  8. "repository": {
  9. "type": "git",
  10. "url": "git://github.com/leizongmin/js-xss.git"
  11. },
  12. "engines": {
  13. "node": ">= 0.10.0"
  14. },
  15. "dependencies": {
  16. "commander": "^2.20.3",
  17. "cssfilter": "0.0.10"
  18. },
  19. "devDependencies": {
  20. "browserify": "^17.0.0",
  21. "coveralls": "^3.1.1",
  22. "debug": "^4.3.4",
  23. "eslint": "^8.16.0",
  24. "mocha": "^8.4.0",
  25. "nyc": "^15.1.0",
  26. "uglify-js": "^3.15.5"
  27. },
  28. "files": [
  29. "lib",
  30. "bin/xss",
  31. "dist",
  32. "typings/*.d.ts"
  33. ],
  34. "bin": {
  35. "xss": "./bin/xss"
  36. },
  37. "scripts": {
  38. "lint": "eslint lib/**",
  39. "test": "export DEBUG=xss:* && mocha -t 5000",
  40. "test-cov": "nyc --reporter=lcov mocha --exit \"test/*.js\" && nyc report",
  41. "coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
  42. "build": "./bin/build",
  43. "prepublish": "npm run test && npm run build"
  44. },
  45. "license": "MIT",
  46. "bugs": {
  47. "url": "https://github.com/leizongmin/js-xss/issues"
  48. },
  49. "homepage": "https://github.com/leizongmin/js-xss",
  50. "keywords": [
  51. "sanitization",
  52. "xss",
  53. "sanitize",
  54. "sanitisation",
  55. "input",
  56. "security",
  57. "escape",
  58. "encode",
  59. "filter",
  60. "validator",
  61. "html",
  62. "injection",
  63. "whitelist"
  64. ]
  65. }