package.json
{
"name": "get-video-duration",
"description": "Get the duration of a video file",
"version": "4.1.0",
"author": "Lluís Ulzurrun de Asanza Sàez <me@llu.is> (http://llu.is)",
"license": "MIT",
"repository": "caffco/get-video-duration",
"main": "dist/commonjs/index.js",
"module": "dist/es6/index.js",
"dependencies": {
"@ffprobe-installer/ffprobe": "^2.1.2",
"execa": "^5.0.0",
"is-stream": "^2.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.1",
"@types/node": "^15.0.2",
"@types/tmp": "^0.2.3",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"es-check": "^7.0.0",
"eslint": "^8.12.0",
"husky": "^4.2.5",
"jest": "^27.5.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.1.0",
"source-map-support": "^0.5.21",
"tmp": "^0.2.1",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"typescript": "^4.2.4"
},
"scripts": {
"lint": "eslint **/*.ts",
"lint:build": "es-check es5 dist/commonjs/*.js",
"build": "run-s build:* lint:build",
"build:commonjs": "tsc --p tsconfig.commonjs.json",
"build:es6": "tsc --p tsconfig.es6.json",
"test": "jest",
"format": "prettier --config .prettierrc 'src/**/*.ts' 'test/**/*.ts' --write",
"prepublishOnly": "run-s test build"
},
"husky": {
"hooks": {
"pre-commit": "run-s lint format"
}
},
"keywords": [
"video",
"duration",
"ffmpeg",
"ffprobe",
"typescript"
],
"files": [
"dist/**/*"
]
}