61 lines
2.0 KiB
JSON
61 lines
2.0 KiB
JSON
{
|
|
"name": "@ffmpeg/ffmpeg",
|
|
"version": "0.11.5",
|
|
"description": "FFmpeg WebAssembly version",
|
|
"main": "src/index.js",
|
|
"types": "src/index.d.ts",
|
|
"directories": {
|
|
"example": "examples"
|
|
},
|
|
"scripts": {
|
|
"start": "node scripts/server.js",
|
|
"start:worker": "node scripts/worker-server.js",
|
|
"build": "rimraf dist && webpack --config scripts/webpack.config.prod.js",
|
|
"build:worker": "rimraf dist && webpack --config scripts/webpack.config.worker.prod.js",
|
|
"prepublishOnly": "npm run build",
|
|
"wait": "rimraf dist && wait-on http://localhost:3000/dist/ffmpeg.dev.js",
|
|
"test": "npm-run-all -p -r start test:all",
|
|
"test:all": "npm-run-all wait test:browser:ffmpeg test:node:all",
|
|
"test:node": "node node_modules/mocha/bin/_mocha --exit --bail --require ./scripts/test-helper.js",
|
|
"test:node:all": "npm run test:node -- ./tests/*.test.js",
|
|
"test:browser": "mocha-headless-chrome -a allow-file-access-from-files -a incognito -a no-sandbox -a disable-setuid-sandbox -a disable-logging -t 300000",
|
|
"test:browser:ffmpeg": "npm run test:browser -- -f ./tests/ffmpeg.test.html"
|
|
},
|
|
"browser": {
|
|
"./src/node/index.js": "./src/browser/index.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ffmpegwasm/ffmpeg.wasm.git"
|
|
},
|
|
"keywords": [
|
|
"ffmpeg",
|
|
"WebAssembly",
|
|
"video"
|
|
],
|
|
"author": "Jerome Wu <jeromewus@gmail.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/ffmpegwasm/ffmpeg.wasm/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.16.1"
|
|
},
|
|
"homepage": "https://github.com/ffmpegwasm/ffmpeg.wasm#readme",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"dependencies": {
|
|
"is-url": "^1.2.4",
|
|
"node-fetch": "^2.6.1",
|
|
"regenerator-runtime": "^0.13.7",
|
|
"resolve-url": "^0.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^5.37.0",
|
|
"@typescript-eslint/parser": "^5.37.0",
|
|
"eslint": "^8.23.1",
|
|
"typescript": "^4.8.3"
|
|
}
|
|
}
|