UNPKG

use-ffmpeg

Version:

A React hook for browser-based media processing using FFmpeg WASM - handles video and other file formats conversion with ease

85 lines (84 loc) 2.28 kB
{ "name": "use-ffmpeg", "version": "1.1.8", "description": "A React hook for browser-based media processing using FFmpeg WASM - handles video and other file formats conversion with ease", "main": "./build/index.cjs.js", "module": "./build/index.esm.js", "type": "module", "types": "./build/index.d.ts", "exports": { ".": { "types": "./build/index.d.ts", "import": "./build/index.esm.js", "require": "./build/index.cjs.js", "default": "./build/index.esm.js" } }, "typesVersions": { "*": { "*": [ "./build/index.d.ts" ] } }, "scripts": { "build": "rollup -c", "clean": "rm -rf build", "prepack": "npm run clean && npm run build", "format": "npx @biomejs/biome check --write .", "test": "glob 'src/tests/unit/**/*.test.ts' -c 'tsx --test'", "test:vitest": "vitest --watch=false src/tests/integration/useFFmpeg.test.ts", "prepare": "husky", "doc": "typedoc build/**/*.js -d docs/", "release": "standard-version", "postrelease": "git push --follow-tags && npm publish" }, "keywords": [ "ffmpeg", "wasm", "react-hook", "react", "media-processing", "conversion", "transcoding", "browser", "multimedia", "media-converter" ], "author": "Prince Wilson", "license": "MIT", "devDependencies": { "@biomejs/biome": "1.9.4", "@commitlint/cli": "^19.6.1", "@commitlint/config-conventional": "^19.6.0", "@rollup/plugin-commonjs": "^28.0.2", "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-typescript": "^12.1.2", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.1.0", "@types/node": "^22.10.6", "@types/react": "^19.0.7", "glob": "^11.0.1", "husky": "^9.1.7", "jsdoc": "^4.0.4", "jsdom": "^26.0.0", "rollup": "^4.30.1", "rollup-plugin-dts": "^6.1.1", "standard-version": "^9.5.0", "ts-node": "^10.9.2", "tslib": "^2.8.1", "tsx": "^4.19.2", "typescript": "^5.7.3", "vitest": "^2.1.8" }, "files": [ "build/", "types" ], "peerDependencies": { "@ffmpeg/ffmpeg": "^0.12.15", "@ffmpeg/util": "^0.12.2", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" } }