package.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. {
  2. "_from": "unist-util-is@^4.0.0",
  3. "_id": "unist-util-is@4.1.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg==",
  6. "_location": "/unist-util-is",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "unist-util-is@^4.0.0",
  12. "name": "unist-util-is",
  13. "escapedName": "unist-util-is",
  14. "rawSpec": "^4.0.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^4.0.0"
  17. },
  18. "_requiredBy": [
  19. "/unist-util-find-all-after"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-4.1.0.tgz",
  22. "_shasum": "976e5f462a7a5de73d94b706bac1b90671b57797",
  23. "_spec": "unist-util-is@^4.0.0",
  24. "_where": "D:\\qianger\\7\\jindouyunNewFront\\node_modules\\unist-util-find-all-after",
  25. "author": {
  26. "name": "Titus Wormer",
  27. "email": "tituswormer@gmail.com",
  28. "url": "https://wooorm.com"
  29. },
  30. "bugs": {
  31. "url": "https://github.com/syntax-tree/unist-util-is/issues"
  32. },
  33. "bundleDependencies": false,
  34. "contributors": [
  35. {
  36. "name": "Titus Wormer",
  37. "email": "tituswormer@gmail.com",
  38. "url": "https://wooorm.com"
  39. },
  40. {
  41. "name": "Christian Murphy",
  42. "email": "christian.murphy.42@gmail.com"
  43. },
  44. {
  45. "name": "Lucas Brandstaetter",
  46. "email": "lucas@brandstaetter.tech",
  47. "url": "https://github.com/Roang-zero1"
  48. }
  49. ],
  50. "deprecated": false,
  51. "description": "unist utility to check if a node passes a test",
  52. "devDependencies": {
  53. "@types/mdast": "^3.0.0",
  54. "browserify": "^17.0.0",
  55. "dtslint": "^4.0.0",
  56. "fast-check": "^2.0.0",
  57. "lodash": "^4.0.0",
  58. "nyc": "^15.0.0",
  59. "prettier": "^2.0.0",
  60. "remark-cli": "^9.0.0",
  61. "remark-preset-wooorm": "^8.0.0",
  62. "tape": "^5.0.0",
  63. "tinyify": "^3.0.0",
  64. "unified": "^9.0.0",
  65. "xo": "^0.38.0"
  66. },
  67. "files": [
  68. "index.js",
  69. "convert.js",
  70. "index.d.ts",
  71. "convert.d.ts"
  72. ],
  73. "funding": {
  74. "type": "opencollective",
  75. "url": "https://opencollective.com/unified"
  76. },
  77. "homepage": "https://github.com/syntax-tree/unist-util-is#readme",
  78. "keywords": [
  79. "unist",
  80. "unist-util",
  81. "util",
  82. "utility",
  83. "tree",
  84. "node",
  85. "is",
  86. "equal",
  87. "check",
  88. "test",
  89. "type"
  90. ],
  91. "license": "MIT",
  92. "name": "unist-util-is",
  93. "nyc": {
  94. "check-coverage": true,
  95. "lines": 100,
  96. "functions": 100,
  97. "branches": 100
  98. },
  99. "prettier": {
  100. "tabWidth": 2,
  101. "useTabs": false,
  102. "singleQuote": true,
  103. "bracketSpacing": false,
  104. "semi": false,
  105. "trailingComma": "none"
  106. },
  107. "remarkConfig": {
  108. "plugins": [
  109. "preset-wooorm"
  110. ]
  111. },
  112. "repository": {
  113. "type": "git",
  114. "url": "git+https://github.com/syntax-tree/unist-util-is.git"
  115. },
  116. "scripts": {
  117. "build": "npm run build-bundle && npm run build-mangle",
  118. "build-bundle": "browserify . -s unistUtilIs -o unist-util-is.js",
  119. "build-mangle": "browserify . -s unistUtilIs -o unist-util-is.min.js -p tinyify",
  120. "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
  121. "test": "npm run format && npm run build && npm run test-coverage && npm run test-types",
  122. "test-api": "node test",
  123. "test-coverage": "nyc --reporter lcov tape test",
  124. "test-types": "dtslint ."
  125. },
  126. "types": "index.d.ts",
  127. "version": "4.1.0",
  128. "xo": {
  129. "prettier": true,
  130. "esnext": false,
  131. "rules": {
  132. "@typescript-eslint/no-unused-expressions": "off",
  133. "eqeqeq": [
  134. "error",
  135. "always",
  136. {
  137. "null": "ignore"
  138. }
  139. ],
  140. "max-params": "off",
  141. "no-eq-null": "off",
  142. "unicorn/prefer-number-properties": "off",
  143. "unicorn/prefer-reflect-apply": "off",
  144. "unicorn/prefer-type-error": "off"
  145. },
  146. "ignore": [
  147. "*.ts",
  148. "unist-util-is.js"
  149. ]
  150. }
  151. }