package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. {
  2. "_args": [
  3. [
  4. "type@1.2.0",
  5. "E:\\amr1.0\\AMR"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "type@1.2.0",
  10. "_id": "type@1.2.0",
  11. "_inBundle": false,
  12. "_integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==",
  13. "_location": "/type",
  14. "_phantomChildren": {},
  15. "_requested": {
  16. "type": "version",
  17. "registry": true,
  18. "raw": "type@1.2.0",
  19. "name": "type",
  20. "escapedName": "type",
  21. "rawSpec": "1.2.0",
  22. "saveSpec": null,
  23. "fetchSpec": "1.2.0"
  24. },
  25. "_requiredBy": [
  26. "/d"
  27. ],
  28. "_resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
  29. "_spec": "1.2.0",
  30. "_where": "E:\\amr1.0\\AMR",
  31. "author": {
  32. "name": "Mariusz Nowak",
  33. "email": "medyk@medikoo.com",
  34. "url": "https://www.medikoo.com/"
  35. },
  36. "bugs": {
  37. "url": "https://github.com/medikoo/type/issues"
  38. },
  39. "description": "Runtime validation and processing of JavaScript types",
  40. "devDependencies": {
  41. "chai": "^4.2.0",
  42. "eslint": "^6.4.0",
  43. "eslint-config-medikoo": "^2.5.1",
  44. "git-list-updated": "^1.2.1",
  45. "husky": "^3.0.5",
  46. "lint-staged": "^9.2.5",
  47. "mocha": "^6.2.0",
  48. "nyc": "^14.1.1",
  49. "prettier-elastic": "^1.18.2"
  50. },
  51. "eslintConfig": {
  52. "extends": "medikoo/es3",
  53. "root": true,
  54. "globals": {
  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. "prettier": {
  109. "printWidth": 100,
  110. "tabWidth": 4,
  111. "overrides": [
  112. {
  113. "files": [
  114. "*.md"
  115. ],
  116. "options": {
  117. "tabWidth": 2
  118. }
  119. }
  120. ]
  121. },
  122. "repository": {
  123. "type": "git",
  124. "url": "git+https://github.com/medikoo/type.git"
  125. },
  126. "scripts": {
  127. "check-coverage": "npm run coverage && nyc check-coverage --statements 80 --function 80 --branches 80 --lines 80",
  128. "coverage": "nyc --reporter=lcov --reporter=html --reporter=text-summary npm test",
  129. "lint": "eslint --ignore-path=.gitignore .",
  130. "lint-updated": "pipe-git-updated --ext=js -- eslint --ignore-pattern '!*'",
  131. "prettier-check-updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
  132. "prettify": "prettier --write --ignore-path .gitignore '**/*.{css,html,js,json,md,yaml,yml}'",
  133. "test": "mocha --recursive"
  134. },
  135. "version": "1.2.0"
  136. }