package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "name": "formidable",
  3. "version": "2.1.2",
  4. "license": "MIT",
  5. "description": "A node.js module for parsing form data, especially file uploads.",
  6. "homepage": "https://github.com/node-formidable/formidable",
  7. "funding": "https://ko-fi.com/tunnckoCore/commissions",
  8. "repository": "node-formidable/formidable",
  9. "main": "./src/index.js",
  10. "files": [
  11. "src"
  12. ],
  13. "publishConfig": {
  14. "access": "public",
  15. "tag": "v2-latest"
  16. },
  17. "scripts": {
  18. "bench": "node benchmark",
  19. "fmt": "yarn run fmt:prepare '**/*'",
  20. "fmt:prepare": "prettier --write",
  21. "lint": "yarn run lint:prepare .",
  22. "lint:prepare": "eslint --cache --fix --quiet --format codeframe",
  23. "reinstall": "del-cli ./node_modules ./yarn.lock",
  24. "postreinstall": "yarn setup",
  25. "setup": "yarn",
  26. "pretest": "del-cli ./test/tmp && make-dir ./test/tmp",
  27. "test": "jest --coverage",
  28. "pretest:ci": "yarn run pretest",
  29. "test:ci": "nyc jest --coverage",
  30. "test:jest": "jest --coverage"
  31. },
  32. "dependencies": {
  33. "dezalgo": "^1.0.4",
  34. "hexoid": "^1.0.0",
  35. "once": "^1.4.0",
  36. "qs": "^6.11.0"
  37. },
  38. "devDependencies": {
  39. "@commitlint/cli": "8.3.5",
  40. "@commitlint/config-conventional": "8.3.4",
  41. "@tunnckocore/prettier-config": "1.3.8",
  42. "del-cli": "3.0.0",
  43. "eslint": "6.8.0",
  44. "eslint-config-airbnb-base": "14.1.0",
  45. "eslint-config-prettier": "6.11.0",
  46. "eslint-plugin-import": "2.20.2",
  47. "eslint-plugin-prettier": "3.1.3",
  48. "express": "4.17.1",
  49. "husky": "4.2.5",
  50. "jest": "25.4.0",
  51. "koa": "2.11.0",
  52. "lint-staged": "10.2.7",
  53. "make-dir-cli": "2.0.0",
  54. "nyc": "15.0.1",
  55. "prettier": "2.0.5",
  56. "prettier-plugin-pkgjson": "0.2.8",
  57. "request": "2.88.2",
  58. "supertest": "4.0.2"
  59. },
  60. "jest": {
  61. "verbose": true
  62. },
  63. "keywords": [
  64. "multipart",
  65. "form",
  66. "data",
  67. "querystring",
  68. "www",
  69. "json",
  70. "ulpoad",
  71. "file"
  72. ],
  73. "husky": {
  74. "hooks": {
  75. "pre-commit": "git status --porcelain && yarn lint-staged",
  76. "commit-msg": "yarn commitlint -E HUSKY_GIT_PARAMS"
  77. }
  78. },
  79. "commitlint": {
  80. "extends": [
  81. "@commitlint/config-conventional"
  82. ]
  83. },
  84. "lint-staged": {
  85. "!*.{js,jsx,ts,tsx}": [
  86. "yarn run fmt:prepare"
  87. ],
  88. "*.{js,jsx,ts,tsx}": [
  89. "yarn run lint"
  90. ]
  91. },
  92. "renovate": {
  93. "extends": [
  94. "@tunnckocore",
  95. ":pinAllExceptPeerDependencies"
  96. ]
  97. }
  98. }