package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "cssfilter",
  3. "version": "0.0.10",
  4. "description": "Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS",
  5. "main": "lib/index.js",
  6. "files": [
  7. "lib"
  8. ],
  9. "scripts": {
  10. "test": "istanbul cover _mocha --report lcovonly -- -t 5000 -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
  11. "build": "./build",
  12. "prepublish": "npm run test && npm run build"
  13. },
  14. "repository": {
  15. "type": "git",
  16. "url": "https://github.com/leizongmin/js-css-filter.git"
  17. },
  18. "keywords": [
  19. "sanitization",
  20. "xss",
  21. "sanitize",
  22. "sanitisation",
  23. "input",
  24. "security",
  25. "escape",
  26. "encode",
  27. "filter",
  28. "validator",
  29. "html",
  30. "css",
  31. "injection",
  32. "whitelist"
  33. ],
  34. "author": "Zongmin Lei <leizongmin@gmail.com>",
  35. "license": "MIT",
  36. "bugs": {
  37. "url": "https://github.com/leizongmin/js-css-filter/issues"
  38. },
  39. "homepage": "https://github.com/leizongmin/js-css-filter",
  40. "devDependencies": {
  41. "blanket": "^1.1.6",
  42. "browserify": "^13.1.1",
  43. "coveralls": "^2.11.14",
  44. "istanbul": "^0.4.5",
  45. "mocha": "^3.1.2",
  46. "should": "^11.1.1",
  47. "uglify-js": "^2.7.4"
  48. }
  49. }