package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "@ffmpeg/ffmpeg",
  3. "version": "0.12.7",
  4. "description": "FFmpeg WebAssembly version for browser",
  5. "main": "./dist/umd/ffmpeg.js",
  6. "types": "./dist/esm/index.d.ts",
  7. "exports": {
  8. ".": {
  9. "types": "./dist/esm/index.d.ts",
  10. "node": "./dist/esm/empty.mjs",
  11. "default": {
  12. "import": "./dist/esm/index.js",
  13. "require": "./dist/umd/ffmpeg.js"
  14. }
  15. }
  16. },
  17. "scripts": {
  18. "dev": "webpack -w --mode development",
  19. "lint": "eslint src",
  20. "clean": "rimraf dist",
  21. "build:esm": "tsc -p tsconfig.esm.json",
  22. "build:umd": "webpack",
  23. "build": "npm run clean && npm run build:esm && npm run build:umd",
  24. "prepublishOnly": "npm run build"
  25. },
  26. "files": [
  27. "dist",
  28. "types/ffmpeg.d.ts"
  29. ],
  30. "repository": {
  31. "type": "git",
  32. "url": "git+https://github.com/ffmpegwasm/ffmpeg.wasm.git"
  33. },
  34. "keywords": [
  35. "ffmpeg",
  36. "WebAssembly",
  37. "video",
  38. "audio",
  39. "transcode"
  40. ],
  41. "author": "Jerome Wu <[email protected]>",
  42. "license": "MIT",
  43. "bugs": {
  44. "url": "https://github.com/ffmpegwasm/ffmpeg.wasm/issues"
  45. },
  46. "engines": {
  47. "node": ">=18.x"
  48. },
  49. "homepage": "https://github.com/ffmpegwasm/ffmpeg.wasm#readme",
  50. "publishConfig": {
  51. "access": "public"
  52. },
  53. "devDependencies": {
  54. "@typescript-eslint/eslint-plugin": "^6.1.0",
  55. "@typescript-eslint/parser": "^6.1.0",
  56. "eslint": "^8.45.0",
  57. "rimraf": "^5.0.1",
  58. "typescript": "^5.1.6",
  59. "webpack-cli": "^5.1.4"
  60. },
  61. "dependencies": {
  62. "@ffmpeg/types": "^0.12.2"
  63. }
  64. }