UNPKG

gif-tools

Version:

A robust, zero-dependency TypeScript library for creating GIF files with support for both static and animated GIFs. Built with modern TypeScript features and designed to work in both Node.js and browser environments.

134 lines (133 loc) 3.56 kB
{ "name": "gif-tools", "version": "1.0.0", "description": "A robust, zero-dependency TypeScript library for creating GIF files with support for both static and animated GIFs. Built with modern TypeScript features and designed to work in both Node.js and browser environments.", "main": "./lib/src/index.js", "module": "./lib/src/index.js", "types": "./lib/src/index.d.ts", "type": "module", "bin": { "gif-tools": "./lib/src/cli/index.js" }, "files": [ "lib/src/**/*" ], "scripts": { "build": "tsc --project tsconfig.build.json", "build:demo": "tsc --project tsconfig.demo.json", "build:docs": "typedoc", "demo": "npx serve demo", "clean": "rm -rf ./lib/ ./demo/lib/", "lint": "eslint ./src/ --fix", "prepare": "husky", "prepublishOnly": "npm run clean && npm run build && npm run test && npm run lint", "semantic-release": "semantic-release", "test:watch": "jest --watch", "test": "NODE_OPTIONS='--max-old-space-size=8192' jest --coverage --verbose", "typecheck": "tsc --noEmit" }, "repository": { "type": "git", "url": "git+https://github.com/ccashwell/gif-tools.git" }, "license": "MIT", "author": { "name": "Chris Cashwell", "email": "ccashwell@users.noreply.github.com", "url": "https://github.com/ccashwell" }, "engines": { "node": ">=18.18" }, "keywords": [ "gif", "gif-animator", "gif-creator", "gif-maker", "gif-tools", "gif-writer", "gif-quantizer", "gif-encoder", "gif-decoder", "gif-parser", "gif-reader", "animated-gif", "typescript" ], "bugs": { "url": "https://github.com/ccashwell/gif-tools/issues" }, "homepage": "https://github.com/ccashwell/gif-tools#readme", "devDependencies": { "@semantic-release/npm": "^13.1.5", "@types/jest": "^30.0.0", "@types/node": "^22.19.19", "conventional-changelog-conventionalcommits": "^8.0.0", "eslint": "^9.39.4", "eslint-config-prettier": "^9.1.2", "eslint-plugin-n": "^17.24.0", "eslint-plugin-prettier": "^5.5.5", "husky": "^9.1.7", "jest": "^30.0.3", "jest-util": "^30.0.2", "lint-staged": "^15.5.2", "prettier": "^3.8.3", "semantic-release": "^24.2.9", "ts-jest": "^29.4.0", "ts-node": "^10.2.1", "typedoc": "^0.28.19", "typescript": "^5.9.3", "typescript-eslint": "^8.59.4" }, "overrides": { "@semantic-release/npm": "^13.1.5" }, "lint-staged": { "*.ts": "eslint --cache --cache-location .eslintcache --fix" }, "release": { "branches": [ "main" ], "plugins": [ [ "@semantic-release/commit-analyzer", { "preset": "conventionalcommits", "releaseRules": [ { "type": "build", "scope": "deps", "release": "patch" } ] } ], [ "@semantic-release/release-notes-generator", { "preset": "conventionalcommits", "presetConfig": { "types": [ { "type": "feat", "section": "Features" }, { "type": "fix", "section": "Bug Fixes" }, { "type": "build", "section": "Dependencies and Other Build Updates", "hidden": false } ] } } ], "@semantic-release/npm", "@semantic-release/github" ] } }