thumbkit
Version:
A comprehensive TypeScript library for generating thumbnails from images, PDFs, videos, office documents, and archives.
103 lines • 2.46 kB
JSON
{
"name": "thumbkit",
"version": "1.0.0",
"description": "A comprehensive TypeScript library for generating thumbnails from images, PDFs, videos, office documents, and archives.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"clean": "rimraf dist",
"dev": "ts-node src/index.ts",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write src/**/*.ts",
"format:check": "prettier --check src/**/*.ts",
"prepublishOnly": "npm run clean && npm run build",
"prepare": "npm run build"
},
"keywords": [
"thumbnail",
"image",
"pdf",
"video",
"office",
"document",
"typescript",
"sharp",
"canvas",
"file-processing",
"image-processing",
"thumbnail-generator"
],
"author": {
"name": "Abhay Mishra",
"email": "abhaym1205@gmail.com",
"url": "https://abhaymishra.in"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Abdev1205/thumbnail.js.git"
},
"bugs": {
"url": "https://github.com/Abdev1205/thumbnail.js/issues"
},
"homepage": "https://github.com/Abdev1205/thumbnail.js#readme",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"canvas": "^2.11.2",
"pdfjs-dist": "^4.0.379",
"sharp": "^0.33.0",
"jszip": "^3.10.1"
},
"devDependencies": {
"@types/jest": "^29.5.8",
"@types/node": "^18.19.35",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"eslint": "^9.29.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"prettier": "^3.1.0",
"rimraf": "^5.0.10",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.3.0"
},
"peerDependencies": {
"ffmpeg": "*",
"libreoffice": "*"
},
"peerDependenciesMeta": {
"ffmpeg-static": {
"optional": true
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"<rootDir>/src",
"<rootDir>/tests"
],
"testMatch": [
"**/__tests__/**/*.ts",
"**/?(*.)+(spec|test).ts"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts"
]
}
}