package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "node-html-parser",
  3. "version": "3.3.6",
  4. "description": "A very fast HTML parser, generating a simplified DOM, with basic element query support.",
  5. "main": "dist/index.js",
  6. "module": "dist/esm/index.js",
  7. "types": "dist/index.d.ts",
  8. "scripts": {
  9. "test": "mocha",
  10. "lint": "eslint ./src/*.ts ./src/**/*.ts",
  11. "clean": "del-cli ./dist/",
  12. "ts:cjs": "tsc -m commonjs",
  13. "ts:amd": "tsc -t es5 -m amd -d false --outFile ./dist/main.js",
  14. "ts:esm": "tsc -t esnext -m esnext -d false --outDir ./dist/esm/",
  15. "build": "npm run lint && npm run clean && npm run ts:cjs && npm run ts:amd && npm run ts:esm",
  16. "dev": "tsc -w & mocha -w ./test/*.js",
  17. "pretest": "tsc -m commonjs",
  18. "release": "yarn build && np",
  19. "prepare": "npm run build"
  20. },
  21. "keywords": [
  22. "parser",
  23. "html",
  24. "nodejs",
  25. "typescript"
  26. ],
  27. "author": "Xiaoyi Shi <ashi009@gmail.com>",
  28. "contributors": [
  29. "taoqf<tao_qiufeng@126.com>"
  30. ],
  31. "license": "MIT",
  32. "publishConfig": {
  33. "registry": "https://registry.npmjs.org"
  34. },
  35. "dependencies": {
  36. "css-select": "^4.1.3",
  37. "he": "1.2.0"
  38. },
  39. "devDependencies": {
  40. "@types/entities": "latest",
  41. "@types/he": "latest",
  42. "@types/node": "latest",
  43. "@typescript-eslint/eslint-plugin": "latest",
  44. "@typescript-eslint/eslint-plugin-tslint": "latest",
  45. "@typescript-eslint/parser": "latest",
  46. "blanket": "latest",
  47. "cheerio": "^1.0.0-rc.5",
  48. "del-cli": "latest",
  49. "eslint": "latest",
  50. "eslint-config-prettier": "latest",
  51. "eslint-plugin-import": "latest",
  52. "high5": "^1.0.0",
  53. "htmlparser": "^1.7.7",
  54. "htmlparser-benchmark": "^1.1.3",
  55. "htmlparser2": "^6.0.0",
  56. "mocha": "latest",
  57. "np": "latest",
  58. "parse5": "^6.0.1",
  59. "should": "latest",
  60. "spec": "latest",
  61. "travis-cov": "latest",
  62. "typescript": "next"
  63. },
  64. "config": {
  65. "blanket": {
  66. "pattern": "./dist/index.js",
  67. "data-cover-never": [
  68. "node_modules"
  69. ]
  70. },
  71. "travis-cov": {
  72. "threshold": 70
  73. }
  74. },
  75. "directories": {
  76. "test": "test"
  77. },
  78. "repository": {
  79. "type": "git",
  80. "url": "https://github.com/taoqf/node-fast-html-parser.git"
  81. },
  82. "bugs": {
  83. "url": "https://github.com/taoqf/node-fast-html-parser/issues"
  84. },
  85. "homepage": "https://github.com/taoqf/node-fast-html-parser",
  86. "sideEffects": false
  87. }