package.json 2.2 KB

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