68 lines
2.0 KiB
JSON
68 lines
2.0 KiB
JSON
{
|
|
"name": "@ffmpeg/ffmpeg",
|
|
"version": "0.5.1",
|
|
"description": "FFmpeg WebAssembly version",
|
|
"main": "src/index.js",
|
|
"directories": {
|
|
"example": "examples"
|
|
},
|
|
"scripts": {
|
|
"start": "node scripts/server.js",
|
|
"build": "rimraf dist && webpack --config scripts/webpack.config.prod.js",
|
|
"prepublishOnly": "npm run build",
|
|
"lint": "eslint src",
|
|
"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:node:all",
|
|
"test:node": "nyc mocha --exit --bail --require ./scripts/test-helper.js",
|
|
"test:node:all": "npm run test:node -- ./tests/*.test.js",
|
|
"test:browser": "mocha-headless-chrome -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/worker/node/index.js": "./src/worker/browser/index.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ffmpegjs/ffmpeg.js.git"
|
|
},
|
|
"keywords": [
|
|
"ffmpeg",
|
|
"WebAssembly",
|
|
"video"
|
|
],
|
|
"author": "Jerome Wu <jeromewus@gmail.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/ffmpegjs/ffmpeg.js/issues"
|
|
},
|
|
"homepage": "https://github.com/ffmpegjs/ffmpeg.js#readme",
|
|
"dependencies": {
|
|
"@ffmpeg/core": "^0.5.0",
|
|
"idb": "^4.0.5",
|
|
"is-url": "^1.2.4",
|
|
"node-fetch": "^2.6.0",
|
|
"regenerator-runtime": "^0.13.3",
|
|
"resolve-url": "^0.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.6.4",
|
|
"@babel/preset-env": "^7.6.3",
|
|
"babel-loader": "^8.0.6",
|
|
"cors": "^2.8.5",
|
|
"eslint": "^6.1.0",
|
|
"eslint-config-airbnb-base": "^14.0.0",
|
|
"eslint-plugin-import": "^2.18.2",
|
|
"expect.js": "^0.3.1",
|
|
"express": "^4.17.1",
|
|
"mocha": "^6.2.2",
|
|
"mocha-headless-chrome": "^2.0.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"nyc": "^14.1.1",
|
|
"wait-on": "^3.3.0",
|
|
"webpack": "^4.41.2",
|
|
"webpack-cli": "^3.3.9",
|
|
"webpack-dev-middleware": "^3.7.2"
|
|
}
|
|
}
|