package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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.1",
  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": "in-publish && npm run update-readme || not-in-publish",
  33. "postpublish": "npm run restore-readme"
  34. },
  35. "pre-commit": [
  36. "lint",
  37. "ci-test",
  38. "check"
  39. ],
  40. "engines": {
  41. "node": ">= 6"
  42. },
  43. "dependencies": {
  44. "asynckit": "^0.4.0",
  45. "combined-stream": "^1.0.8",
  46. "mime-types": "^2.1.12"
  47. },
  48. "devDependencies": {
  49. "@types/node": "^12.0.10",
  50. "browserify": "^13.1.1",
  51. "browserify-istanbul": "^2.0.0",
  52. "coveralls": "^3.0.4",
  53. "cross-spawn": "^6.0.5",
  54. "eslint": "^6.0.1",
  55. "fake": "^0.2.2",
  56. "far": "^0.0.7",
  57. "formidable": "^1.0.17",
  58. "in-publish": "^2.0.0",
  59. "is-node-modern": "^1.0.0",
  60. "istanbul": "^0.4.5",
  61. "obake": "^0.1.2",
  62. "puppeteer": "^1.19.0",
  63. "pkgfiles": "^2.3.0",
  64. "pre-commit": "^1.1.3",
  65. "request": "^2.88.0",
  66. "rimraf": "^2.7.1",
  67. "tape": "^4.6.2",
  68. "typescript": "^3.5.2"
  69. },
  70. "license": "MIT"
  71. }