package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. {
  2. "_args": [
  3. [
  4. "type@1.2.0",
  5. "E:\\2023\\5\\myjadmin"
  6. ]
  7. ],
  8. "_from": "type@1.2.0",
  9. "_id": "type@1.2.0",
  10. "_inBundle": false,
  11. "_integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==",
  12. "_location": "/type",
  13. "_phantomChildren": {},
  14. "_requested": {
  15. "type": "version",
  16. "registry": true,
  17. "raw": "type@1.2.0",
  18. "name": "type",
  19. "escapedName": "type",
  20. "rawSpec": "1.2.0",
  21. "saveSpec": null,
  22. "fetchSpec": "1.2.0"
  23. },
  24. "_requiredBy": [
  25. "/d"
  26. ],
  27. "_resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
  28. "_spec": "1.2.0",
  29. "_where": "E:\\2023\\5\\myjadmin",
  30. "author": {
  31. "name": "Mariusz Nowak",
  32. "email": "medyk@medikoo.com",
  33. "url": "https://www.medikoo.com/"
  34. },
  35. "bugs": {
  36. "url": "https://github.com/medikoo/type/issues"
  37. },
  38. "description": "Runtime validation and processing of JavaScript types",
  39. "devDependencies": {
  40. "chai": "^4.2.0",
  41. "eslint": "^6.4.0",
  42. "eslint-config-medikoo": "^2.5.1",
  43. "git-list-updated": "^1.2.1",
  44. "husky": "^3.0.5",
  45. "lint-staged": "^9.2.5",
  46. "mocha": "^6.2.0",
  47. "nyc": "^14.1.1",
  48. "prettier-elastic": "^1.18.2"
  49. },
  50. "eslintConfig": {
  51. "extends": "medikoo/es3",
  52. "root": true,
  53. "globals": {
  54. "Map": true,
  55. "Promise": true,
  56. "Set": true,
  57. "Symbol": true
  58. },
  59. "overrides": [
  60. {
  61. "files": "test/**/*.js",
  62. "env": {
  63. "mocha": true
  64. },
  65. "rules": {
  66. "no-eval": "off",
  67. "no-new-wrappers": "off"
  68. }
  69. },
  70. {
  71. "files": [
  72. "string/coerce.js",
  73. "number/coerce.js"
  74. ],
  75. "rules": {
  76. "no-implicit-coercion": "off"
  77. }
  78. },
  79. {
  80. "files": "plain-object/is.js",
  81. "rules": {
  82. "no-proto": "off"
  83. }
  84. }
  85. ]
  86. },
  87. "homepage": "https://github.com/medikoo/type#readme",
  88. "husky": {
  89. "hooks": {
  90. "pre-commit": "lint-staged"
  91. }
  92. },
  93. "keywords": [
  94. "type",
  95. "coercion"
  96. ],
  97. "license": "ISC",
  98. "lint-staged": {
  99. "*.js": [
  100. "eslint"
  101. ],
  102. "*.{css,html,js,json,md,yaml,yml}": [
  103. "prettier -c"
  104. ]
  105. },
  106. "name": "type",
  107. "prettier": {
  108. "printWidth": 100,
  109. "tabWidth": 4,
  110. "overrides": [
  111. {
  112. "files": [
  113. "*.md"
  114. ],
  115. "options": {
  116. "tabWidth": 2
  117. }
  118. }
  119. ]
  120. },
  121. "repository": {
  122. "type": "git",
  123. "url": "git+https://github.com/medikoo/type.git"
  124. },
  125. "scripts": {
  126. "check-coverage": "npm run coverage && nyc check-coverage --statements 80 --function 80 --branches 80 --lines 80",
  127. "coverage": "nyc --reporter=lcov --reporter=html --reporter=text-summary npm test",
  128. "lint": "eslint --ignore-path=.gitignore .",
  129. "lint-updated": "pipe-git-updated --ext=js -- eslint --ignore-pattern '!*'",
  130. "prettier-check-updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
  131. "prettify": "prettier --write --ignore-path .gitignore '**/*.{css,html,js,json,md,yaml,yml}'",
  132. "test": "mocha --recursive"
  133. },
  134. "version": "1.2.0"
  135. }