package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "author": "Felix Geisendörfer <felix@debuggable.com> (http://debuggable.com/)",
  3. "name": "form-data",
  4. "description": "A library to create readable \"multipart/form-data\" streams. Can be used to submit forms and file uploads to other web applications.",
  5. "version": "4.0.3",
  6. "repository": {
  7. "type": "git",
  8. "url": "git://github.com/form-data/form-data.git"
  9. },
  10. "main": "./lib/form_data",
  11. "browser": "./lib/browser",
  12. "typings": "./index.d.ts",
  13. "scripts": {
  14. "pretest": "npm run lint",
  15. "pretests-only": "rimraf coverage test/tmp",
  16. "tests-only": "istanbul cover test/run.js",
  17. "posttests-only": "istanbul report lcov text",
  18. "test": "npm run tests-only",
  19. "posttest": "npx npm@'>=10.2' audit --production",
  20. "lint": "eslint --ext=js,mjs .",
  21. "report": "istanbul report lcov text",
  22. "ci-lint": "is-node-modern 8 && npm run lint || is-node-not-modern 8",
  23. "ci-test": "npm run tests-only && npm run browser && npm run report",
  24. "predebug": "rimraf coverage test/tmp",
  25. "debug": "verbose=1 ./test/run.js",
  26. "browser": "browserify -t browserify-istanbul test/run-browser.js | obake --coverage",
  27. "check": "istanbul check-coverage coverage/coverage*.json",
  28. "files": "pkgfiles --sort=name",
  29. "get-version": "node -e \"console.log(require('./package.json').version)\"",
  30. "update-readme": "sed -i.bak 's/\\/master\\.svg/\\/v'$(npm --silent run get-version)'.svg/g' README.md",
  31. "restore-readme": "mv README.md.bak README.md",
  32. "prepublish": "not-in-publish || npm run prepublishOnly",
  33. "prepublishOnly": "npm run update-readme",
  34. "postpublish": "npm run restore-readme"
  35. },
  36. "engines": {
  37. "node": ">= 6"
  38. },
  39. "dependencies": {
  40. "asynckit": "^0.4.0",
  41. "combined-stream": "^1.0.8",
  42. "es-set-tostringtag": "^2.1.0",
  43. "hasown": "^2.0.2",
  44. "mime-types": "^2.1.12"
  45. },
  46. "devDependencies": {
  47. "@ljharb/eslint-config": "^21.1.1",
  48. "browserify": "^13.3.0",
  49. "browserify-istanbul": "^2.0.0",
  50. "coveralls": "^3.1.1",
  51. "cross-spawn": "^6.0.6",
  52. "eslint": "=8.8.0",
  53. "fake": "^0.2.2",
  54. "far": "^0.0.7",
  55. "formidable": "^1.2.6",
  56. "in-publish": "^2.0.1",
  57. "is-node-modern": "^1.0.0",
  58. "istanbul": "^0.4.5",
  59. "obake": "^0.1.2",
  60. "pkgfiles": "^2.3.2",
  61. "request": "~2.87.0",
  62. "rimraf": "^2.7.1",
  63. "tape": "^5.9.0"
  64. },
  65. "license": "MIT"
  66. }