package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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.0",
  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": "rimraf coverage test/tmp",
  15. "test": "istanbul cover test/run.js",
  16. "posttest": "istanbul report lcov text",
  17. "lint": "eslint lib/*.js test/*.js test/integration/*.js",
  18. "report": "istanbul report lcov text",
  19. "ci-lint": "is-node-modern 8 && npm run lint || is-node-not-modern 8",
  20. "ci-test": "npm run test && npm run browser && npm run report",
  21. "predebug": "rimraf coverage test/tmp",
  22. "debug": "verbose=1 ./test/run.js",
  23. "browser": "browserify -t browserify-istanbul test/run-browser.js | obake --coverage",
  24. "check": "istanbul check-coverage coverage/coverage*.json",
  25. "files": "pkgfiles --sort=name",
  26. "get-version": "node -e \"console.log(require('./package.json').version)\"",
  27. "update-readme": "sed -i.bak 's/\\/master\\.svg/\\/v'$(npm --silent run get-version)'.svg/g' README.md",
  28. "restore-readme": "mv README.md.bak README.md",
  29. "prepublish": "in-publish && npm run update-readme || not-in-publish",
  30. "postpublish": "npm run restore-readme"
  31. },
  32. "pre-commit": [
  33. "lint",
  34. "ci-test",
  35. "check"
  36. ],
  37. "engines": {
  38. "node": ">= 6"
  39. },
  40. "dependencies": {
  41. "asynckit": "^0.4.0",
  42. "combined-stream": "^1.0.8",
  43. "mime-types": "^2.1.12"
  44. },
  45. "devDependencies": {
  46. "@types/node": "^12.0.10",
  47. "browserify": "^13.1.1",
  48. "browserify-istanbul": "^2.0.0",
  49. "coveralls": "^3.0.4",
  50. "cross-spawn": "^6.0.5",
  51. "eslint": "^6.0.1",
  52. "fake": "^0.2.2",
  53. "far": "^0.0.7",
  54. "formidable": "^1.0.17",
  55. "in-publish": "^2.0.0",
  56. "is-node-modern": "^1.0.0",
  57. "istanbul": "^0.4.5",
  58. "obake": "^0.1.2",
  59. "puppeteer": "^1.19.0",
  60. "pkgfiles": "^2.3.0",
  61. "pre-commit": "^1.1.3",
  62. "request": "^2.88.0",
  63. "rimraf": "^2.7.1",
  64. "tape": "^4.6.2",
  65. "typescript": "^3.5.2"
  66. },
  67. "license": "MIT"
  68. }