package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "form-data-encoder",
  3. "version": "1.7.2",
  4. "description": "Encode FormData content into the multipart/form-data format",
  5. "repository": "octet-stream/form-data-encoder",
  6. "sideEffects": false,
  7. "keywords": [
  8. "form-data",
  9. "encoder",
  10. "multipart",
  11. "files-upload",
  12. "async-iterator",
  13. "spec-compatible",
  14. "form"
  15. ],
  16. "main": "./lib/cjs/index.js",
  17. "module": "./lib/esm/index.js",
  18. "types": "./@type/index.d.ts",
  19. "exports": {
  20. "import": "./lib/esm/index.js",
  21. "require": "./lib/cjs/index.js"
  22. },
  23. "scripts": {
  24. "eslint": "eslint lib/**/*.ts",
  25. "staged": "lint-staged",
  26. "coverage": "c8 npm test",
  27. "ci": "c8 npm test && c8 report --reporter=json",
  28. "build:esm": "ttsc --project tsconfig.esm.json",
  29. "build:cjs": "ttsc --project tsconfig.cjs.json",
  30. "build:types": "ttsc --project tsconfig.d.ts.json",
  31. "build": "npm run build:esm && npm run build:cjs && npm run build:types",
  32. "test": "ava --fail-fast",
  33. "cleanup": "npx rimraf @type \"lib/**/*.js\"",
  34. "prepare": "npm run cleanup && npm run build",
  35. "_postinstall": "husky install",
  36. "prepublishOnly": "pinst --disable",
  37. "postpublish": "pinst --enable"
  38. },
  39. "author": "Nick K.",
  40. "license": "MIT",
  41. "devDependencies": {
  42. "@octetstream/eslint-config": "5.0.0",
  43. "@types/mime-types": "2.1.1",
  44. "@types/node": "17.0.21",
  45. "@typescript-eslint/eslint-plugin": "4.33.0",
  46. "@typescript-eslint/parser": "4.33.0",
  47. "@zoltu/typescript-transformer-append-js-extension": "1.0.1",
  48. "ava": "4.1.0",
  49. "c8": "7.11.0",
  50. "eslint": "7.32.0",
  51. "eslint-config-airbnb-typescript": "12.3.1",
  52. "eslint-plugin-ava": "12.0.0",
  53. "eslint-plugin-jsx-a11y": "6.4.1",
  54. "eslint-plugin-react": "7.26.1",
  55. "formdata-node": "4.3.2",
  56. "husky": "7.0.4",
  57. "lint-staged": "12.3.7",
  58. "pinst": "2.1.6",
  59. "ts-node": "10.7.0",
  60. "ttypescript": "1.5.13",
  61. "typescript": "4.4.4"
  62. }
  63. }