UNPKG

ff-helper

Version:
101 lines (100 loc) 2.79 kB
{ "name": "ff-helper", "version": "0.6.2", "packageManager": "pnpm@10.15.1+sha512.34e538c329b5553014ca8e8f4535997f96180a1d0f614339357449935350d924e22f8614682191264ec33d1462ac21561aff97f6bb18065351c162c7e8f6de67", "description": "ffmpeg helper by napi-rs binding", "keywords": [ "ffmpeg", "ffprobe", "napi", "napi-rs", "video-info", "video-rotation", "video-duration" ], "license": "MIT", "homepage": "https://github.com/magicdawn/ff-helper#readme", "bugs": { "url": "https://github.com/magicdawn/ff-helper/issues" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/magicdawn/ff-helper.git" }, "author": "magicdawn", "files": [ "./ff-helper.*.node", "CHANGELOG.md", "Cargo.lock", "Cargo.toml", "LICENSE", "README.md", "addon.d.ts", "addon.js", "build.rs", "lib", "package.json", "src" ], "main": "lib/index.js", "types": "lib/index.d.ts", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "scripts": { "prepare": "husky", "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": "vitest run", "test-cover": "vitest run --coverage", "_prepublishOnly": "napi prepublish -t npm", "_artifacts": "napi artifacts", "_universal": "napi universal", "_version": "napi version" }, "dependencies": { "@napi-rs/cli": "^2.18.4", "dayjs": "^1.11.18" }, "devDependencies": { "@magicdawn/eslint-config": "^1.5.9", "@magicdawn/prettier-config": "^0.1.0", "@swc/core": "^1.13.5", "@types/fs-extra": "^11.0.4", "@types/node": "^24.3.1", "@typescript-eslint/eslint-plugin": "^8.42.0", "@typescript-eslint/parser": "^8.42.0", "dl-vampire": "^2.1.6", "eslint": "^9.35.0", "eslint-config-prettier": "^10.1.8", "fs-extra": "^11.3.1", "husky": "^9.1.7", "lint-staged": "^16.1.6", "prettier": "^3.6.2", "sharp": "^0.34.3", "should": "^13.2.3", "ts-node": "^10.9.2", "typescript": "^5.9.2", "vitest": "^3.2.4" }, "napi": { "name": "ff-helper", "package": {}, "triples": {} }, "lint-staged": { "*.{?(c|m)(j|t)s?(x),json,y?(a)ml}": [ "eslint --fix", "prettier --write" ], "!*.{?(c|m)(j|t)s?(x),json,y?(a)ml}": [ "prettier --write --ignore-unknown" ] } }