package.json 3.2 KB

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