UNPKG

ff-helper

Version:
97 lines (96 loc) 2.53 kB
{ "name": "ff-helper", "version": "0.6.1", "description": "ffmpeg helper by napi-rs binding", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "src", "Cargo.toml", "Cargo.lock", "build.rs", "lib", "addon.js", "addon.d.ts", "./ff-helper.*.node", "README.md", "CHANGELOG.md", "LICENSE", "package.json" ], "dependencies": { "@napi-rs/cli": "^2.18.1", "dayjs": "^1.11.10" }, "devDependencies": { "@magicdawn/prettier-config": "^0.0.3", "@swc/core": "^1.4.13", "@types/fs-extra": "^11.0.4", "@types/mocha": "^10.0.6", "@types/node": "^20.12.7", "@typescript-eslint/eslint-plugin": "^7.6.0", "@typescript-eslint/parser": "^7.6.0", "dl-vampire": "^1.4.1", "eslint": "^9.0.0", "eslint-config-prettier": "^9.1.0", "fs-extra": "^11.2.0", "husky": "^9.0.11", "lint-staged": "^15.2.2", "mocha": "^10.4.0", "nyc": "^15.1.0", "prettier": "^3.2.5", "sharp": "^0.33.3", "should": "^13.2.3", "ts-node": "^10.9.2", "typescript": "^5.4.5" }, "scripts": { "prepare": "husky install", "build:debug": "napi build --platform --js addon.js --dts addon.d.ts", "build:release": "napi build --platform --js addon.js --dts addon.d.ts --release", "dev": "pnpm build:debug", "build:tsc": "rm -rf lib; tsc", "build": "pnpm build:release && pnpm test && pnpm build:tsc", "prepublishOnly": "pnpm build", "install": "npm run build-addon-when-necessary", "build-addon-when-necessary": "(node ./addon.js > /dev/null 2>&1) || npm run build:release", "test": "mocha", "test-cover": "nyc --reporter=lcov --reporter=text mocha", "_prepublishOnly": "napi prepublish -t npm", "_artifacts": "napi artifacts", "_universal": "napi universal", "_version": "napi version" }, "napi": { "name": "ff-helper", "package": {}, "triples": {} }, "author": "magicdawn", "license": "MIT", "repository": { "type": "git", "url": "git+ssh://git@github.com/magicdawn/ff-helper.git" }, "keywords": [ "ffmpeg", "ffprobe", "napi", "napi-rs", "video-info", "video-rotation", "video-duration" ], "bugs": { "url": "https://github.com/magicdawn/ff-helper/issues" }, "homepage": "https://github.com/magicdawn/ff-helper#readme", "lint-staged": { "*.{js,jsx,ts,tsx,less,md}": [ "prettier --write" ] }, "publishConfig": { "registry": "https://registry.npmjs.org/" } }