package.json 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "_from": "unfetch@^4.2.0",
  3. "_id": "unfetch@4.2.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==",
  6. "_location": "/unfetch",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "unfetch@^4.2.0",
  12. "name": "unfetch",
  13. "escapedName": "unfetch",
  14. "rawSpec": "^4.2.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^4.2.0"
  17. },
  18. "_requiredBy": [
  19. "/@nuxt/vue-app"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/unfetch/-/unfetch-4.2.0.tgz",
  22. "_shasum": "7e21b0ef7d363d8d9af0fb929a5555f6ef97a3be",
  23. "_spec": "unfetch@^4.2.0",
  24. "_where": "H:\\gs_nuxt\\node_modules\\@nuxt\\vue-app",
  25. "authors": [
  26. "Jason Miller <jason@developit.ca>"
  27. ],
  28. "babel": {
  29. "env": {
  30. "test": {
  31. "presets": [
  32. "env"
  33. ]
  34. }
  35. }
  36. },
  37. "bugs": {
  38. "url": "https://github.com/developit/unfetch/issues"
  39. },
  40. "bundleDependencies": false,
  41. "deprecated": false,
  42. "description": "Bare minimum fetch polyfill in 500 bytes",
  43. "devDependencies": {
  44. "babel-preset-env": "^1.7.0",
  45. "cross-var": "^1.1.0",
  46. "eslint": "^3.13.1",
  47. "eslint-config-developit": "^1.1.1",
  48. "jest": "^23.6.0",
  49. "microbundle": "^0.10.1"
  50. },
  51. "eslintConfig": {
  52. "extends": "developit"
  53. },
  54. "files": [
  55. "src",
  56. "dist",
  57. "polyfill"
  58. ],
  59. "homepage": "https://github.com/developit/unfetch",
  60. "jest": {
  61. "testURL": "http://localhost/",
  62. "testMatch": [
  63. "<rootDir>/test/**/*.?(m)js?(x)"
  64. ],
  65. "moduleFileExtensions": [
  66. "mjs",
  67. "js"
  68. ],
  69. "transform": {
  70. "^.+\\.m?jsx?$": "babel-jest"
  71. }
  72. },
  73. "jsnext:main": "dist/unfetch.module.js",
  74. "keywords": [
  75. "fetch",
  76. "polyfill",
  77. "xhr",
  78. "ajax"
  79. ],
  80. "license": "MIT",
  81. "main": "dist/unfetch.js",
  82. "module": "dist/unfetch.module.js",
  83. "name": "unfetch",
  84. "repository": {
  85. "type": "git",
  86. "url": "git+https://github.com/developit/unfetch.git"
  87. },
  88. "scripts": {
  89. "build": "microbundle src/index.mjs && microbundle -f cjs polyfill/polyfill.mjs -o polyfill/index.js --no-sourcemap && cp dist/unfetch.module.js dist/unfetch.es.js",
  90. "prepare": "npm run -s build",
  91. "release": "cross-var npm run build -s && cross-var git commit -am $npm_package_version && cross-var git tag $npm_package_version && git push && git push --tags && npm publish",
  92. "test": "eslint src test && jest"
  93. },
  94. "types": "src/index.d.ts",
  95. "umd:main": "dist/unfetch.umd.js",
  96. "unpkg": "polyfill/index.js",
  97. "version": "4.2.0"
  98. }