package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. {
  2. "_args": [
  3. [
  4. "ext@1.4.0",
  5. "/usr/local/develop/php/www/waibao/project/NN2020060801/addons/admin"
  6. ]
  7. ],
  8. "_from": "ext@1.4.0",
  9. "_id": "ext@1.4.0",
  10. "_inBundle": false,
  11. "_integrity": "sha1-ia56BxWPedNVF4gpBDJAd+Q3kkQ=",
  12. "_location": "/ext",
  13. "_phantomChildren": {},
  14. "_requested": {
  15. "type": "version",
  16. "registry": true,
  17. "raw": "ext@1.4.0",
  18. "name": "ext",
  19. "escapedName": "ext",
  20. "rawSpec": "1.4.0",
  21. "saveSpec": null,
  22. "fetchSpec": "1.4.0"
  23. },
  24. "_requiredBy": [
  25. "/es6-symbol"
  26. ],
  27. "_resolved": "https://registry.npm.taobao.org/ext/download/ext-1.4.0.tgz",
  28. "_spec": "1.4.0",
  29. "_where": "/usr/local/develop/php/www/waibao/project/NN2020060801/addons/admin",
  30. "author": {
  31. "name": "Mariusz Nowak",
  32. "email": "medyk@medikoo.com",
  33. "url": "http://www.medikoo.com/"
  34. },
  35. "dependencies": {
  36. "type": "^2.0.0"
  37. },
  38. "description": "JavaScript utilities with respect to emerging standard",
  39. "devDependencies": {
  40. "chai": "^4.2.0",
  41. "eslint": "^6.7.1",
  42. "eslint-config-medikoo": "^2.7.0",
  43. "git-list-updated": "^1.2.1",
  44. "husky": "^3.1.0",
  45. "lint-staged": "^9.5.0",
  46. "mocha": "^6.2.2",
  47. "prettier-elastic": "^1.18.2",
  48. "sinon": "^7.5.0"
  49. },
  50. "eslintConfig": {
  51. "extends": "medikoo/es3",
  52. "root": true,
  53. "overrides": [
  54. {
  55. "files": "global-this/implementation.js",
  56. "globals": {
  57. "__global__": true,
  58. "self": true,
  59. "window": true
  60. },
  61. "rules": {
  62. "no-extend-native": "off",
  63. "strict": "off"
  64. }
  65. },
  66. {
  67. "files": [
  68. "global-this/is-implemented.js",
  69. "global-this/index.js"
  70. ],
  71. "globals": {
  72. "globalThis": true
  73. }
  74. },
  75. {
  76. "files": "test/**/*.js",
  77. "env": {
  78. "mocha": true
  79. }
  80. },
  81. {
  82. "files": "test/thenable_/finally.js",
  83. "globals": {
  84. "Promise": true
  85. }
  86. }
  87. ]
  88. },
  89. "eslintIgnore": [
  90. "_es5-ext/*"
  91. ],
  92. "husky": {
  93. "hooks": {
  94. "pre-commit": "lint-staged"
  95. }
  96. },
  97. "keywords": [
  98. "ecmascript",
  99. "es",
  100. "es6",
  101. "extensions",
  102. "ext",
  103. "addons",
  104. "lodash",
  105. "extras",
  106. "harmony",
  107. "javascript",
  108. "polyfill",
  109. "shim",
  110. "util",
  111. "utils",
  112. "utilities"
  113. ],
  114. "license": "ISC",
  115. "lint-staged": {
  116. "*.js": [
  117. "eslint"
  118. ],
  119. "*.{css,html,js,json,md,yaml,yml}": [
  120. "prettier -c"
  121. ]
  122. },
  123. "mocha": {
  124. "recursive": true
  125. },
  126. "name": "ext",
  127. "prettier": {
  128. "printWidth": 100,
  129. "tabWidth": 4,
  130. "quoteProps": "preserve",
  131. "overrides": [
  132. {
  133. "files": "*.md",
  134. "options": {
  135. "tabWidth": 2
  136. }
  137. }
  138. ]
  139. },
  140. "repository": {
  141. "type": "git",
  142. "url": "https://github.com/medikoo/es5-ext/tree/ext"
  143. },
  144. "scripts": {
  145. "lint": "eslint .",
  146. "lint-updated": "pipe-git-updated --ext=js -- eslint --ignore-pattern '!*'",
  147. "prettier-check-updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
  148. "prettify": "prettier --write --ignore-path .gitignore '**/*.{css,html,js,json,md,yaml,yml}'",
  149. "test": "mocha"
  150. },
  151. "version": "1.4.0"
  152. }