package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. {
  2. "_from": "type@^2.7.2",
  3. "_id": "type@2.7.3",
  4. "_inBundle": false,
  5. "_integrity": "sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ==",
  6. "_location": "/type",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "type@^2.7.2",
  12. "name": "type",
  13. "escapedName": "type",
  14. "rawSpec": "^2.7.2",
  15. "saveSpec": null,
  16. "fetchSpec": "^2.7.2"
  17. },
  18. "_requiredBy": [
  19. "/d",
  20. "/esniff",
  21. "/ext"
  22. ],
  23. "_resolved": "https://registry.npmmirror.com/type/-/type-2.7.3.tgz",
  24. "_shasum": "436981652129285cc3ba94f392886c2637ea0486",
  25. "_spec": "type@^2.7.2",
  26. "_where": "E:\\qinduan\\mallbackinfrontend\\node_modules\\d",
  27. "author": {
  28. "name": "Mariusz Nowak",
  29. "email": "medyk@medikoo.com",
  30. "url": "https://www.medikoo.com/"
  31. },
  32. "bugs": {
  33. "url": "https://github.com/medikoo/type/issues"
  34. },
  35. "bundleDependencies": false,
  36. "deprecated": false,
  37. "description": "Runtime validation and processing of JavaScript types",
  38. "devDependencies": {
  39. "chai": "^4.3.6",
  40. "eslint": "^8.21.0",
  41. "eslint-config-medikoo": "^4.1.2",
  42. "git-list-updated": "^1.2.1",
  43. "github-release-from-cc-changelog": "^2.3.0",
  44. "husky": "^4.3.8",
  45. "lint-staged": "^15.2.5",
  46. "mocha": "^6.2.3",
  47. "nyc": "^15.1.0",
  48. "prettier-elastic": "^3.2.5"
  49. },
  50. "eslintConfig": {
  51. "extends": "medikoo/es3",
  52. "root": true,
  53. "globals": {
  54. "BigInt": true,
  55. "Map": true,
  56. "Promise": true,
  57. "Set": true,
  58. "Symbol": true
  59. },
  60. "overrides": [
  61. {
  62. "files": "test/**/*.js",
  63. "env": {
  64. "mocha": true
  65. },
  66. "rules": {
  67. "no-eval": "off",
  68. "no-new-wrappers": "off"
  69. }
  70. },
  71. {
  72. "files": [
  73. "string/coerce.js",
  74. "number/coerce.js"
  75. ],
  76. "rules": {
  77. "no-implicit-coercion": "off"
  78. }
  79. },
  80. {
  81. "files": "plain-object/is.js",
  82. "rules": {
  83. "no-proto": "off"
  84. }
  85. }
  86. ]
  87. },
  88. "homepage": "https://github.com/medikoo/type#readme",
  89. "husky": {
  90. "hooks": {
  91. "pre-commit": "lint-staged"
  92. }
  93. },
  94. "keywords": [
  95. "type",
  96. "coercion"
  97. ],
  98. "license": "ISC",
  99. "lint-staged": {
  100. "*.js": [
  101. "eslint"
  102. ],
  103. "*.{css,html,js,json,md,yaml,yml}": [
  104. "prettier -c"
  105. ]
  106. },
  107. "name": "type",
  108. "nyc": {
  109. "all": true,
  110. "exclude": [
  111. ".github",
  112. "coverage/**",
  113. "test/**",
  114. "*.config.js"
  115. ],
  116. "reporter": [
  117. "lcov",
  118. "html",
  119. "text-summary"
  120. ]
  121. },
  122. "prettier": {
  123. "printWidth": 100,
  124. "tabWidth": 4,
  125. "trailingComma": "none",
  126. "overrides": [
  127. {
  128. "files": [
  129. "*.md",
  130. "*.yml"
  131. ],
  132. "options": {
  133. "tabWidth": 2
  134. }
  135. }
  136. ]
  137. },
  138. "repository": {
  139. "type": "git",
  140. "url": "git+https://github.com/medikoo/type.git"
  141. },
  142. "scripts": {
  143. "coverage": "nyc npm test",
  144. "lint:updated": "pipe-git-updated --base=main --ext=js -- eslint --ignore-pattern '!*'",
  145. "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  146. "prettier-check:updated": "pipe-git-updated --base=main --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
  147. "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  148. "prettify:updated": "pipe-git-updated ---base=main -ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write",
  149. "test": "mocha --recursive"
  150. },
  151. "typesVersions": {
  152. ">=4": {
  153. "*": [
  154. "ts-types/*"
  155. ]
  156. }
  157. },
  158. "version": "2.7.3"
  159. }