tom-weatherhead/thaw-image-processing.ts

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
    "name": "thaw-image-processing.ts",
    "version": "0.0.3",
    "description": "Raster image processing functions written in TypeScript",
    "keywords": [
        "affine transformation",
        "bicubic",
        "bilinear",
        "bitmap",
        "compositing",
        "convolution",
        "flip",
        "Gaussian blur",
        "image",
        "image processing",
        "interpolation",
        "mirror",
        "pixelation",
        "raster",
        "resampling",
        "rotation",
        "separable convolution",
        "TypeScript"
    ],
    "private": false,
    "homepage": "https://github.com/tom-weatherhead/thaw-image-processing.ts#readme",
    "repository": "github:tom-weatherhead/thaw-image-processing.ts",
    "bugs": {
        "url": "https://github.com/tom-weatherhead/thaw-image-processing.ts/issues"
    },
    "// browser": "",
    "main": "lib/main.js",
    "types": "lib/main.d.ts",
    "files": [
        "lib/**/*"
    ],
    "bin": {
        "thimproc": "./loader.js"
    },
    "man": [],
    "directories": {
        "lib": "lib",
        "// bin": "It is an error to specify both bin and directories.bin",
        "man": "man",
        "// doc": "Put markdown files in the directories.doc directory",
        "doc": "doc",
        "example": "example",
        "test": "test"
    },
    "scripts": {
        "all": "npm run rebuild && npm pack && npm run deploy",
        "clean-build-products": "rm -rf cli && rm -rf coverage && rm -rf lib",
        "clean-packages": "rm -rf node_modules && rm -f package-lock.json",
        "clean": "npm run clean-build-products && npm run clean-packages",
        "rebuild": "npm run clean && npm i && npm run build-and-test",
        "// rebuild-offline": "npm run clean-offline && npm run build-and-test",
        "build-and-test": "npm run prettier-check && npm run lint && npm run build && npm test",
        "prettier-check": "prettier --check \"./*.js\" \"src/**/*.ts\" \"test/**/*.ts\"",
        "prettier-list": "prettier --list-different \"./*.js\" \"src/**/*.ts\" \"test/**/*.ts\"",
        "prettier-format": "prettier --write \"./*.js\" \"src/**/*.ts\" \"test/**/*.ts\"",
        "lint": "eslint . --ext .js --ext .ts",
        "build": "tsc",
        "build-cli": "tsc -p tsconfig.cli.json",
        "test": "jest --detectOpenHandles --forceExit",
        "deploy": "eval mv $npm_package_name-$npm_package_version.tgz $(echo $npm_package_config_deploy_target_dir)/",
        "// prepare": "npm run build",
        "prepublishOnly": "npm test && npm run lint",
        "preversion": "npm run lint",
        "version": "npm run format && git add -A src",
        "postversion": "git push && git push --tags",
        "loc": "git ls-files | grep -v package-lock.json | tr -d '\\r' | tr '\\n' '\\0' | xargs -0 wc -l",
        "re": "npm run prettier-format && npm run clean-build-products && npm run build-and-test && npm pack && npm run deploy",
        "f": "npm run prettier-format && npm run all",
        "start": "npm run all",
        "cli": "./loader.js"
    },
    "config": {
        "deploy_target_dir": "$NPM_PKG_DIR"
    },
    "publishConfig": {},
    "dependencies": {
        "@vivaxy/png": "^1.3.0",
        "jpeg-js": "^0.4.2",
        "thaw-common-utilities.ts": "^0.0.4"
    },
    "devDependencies": {
        "@babel/core": "^7.12.9",
        "@babel/preset-env": "^7.12.7",
        "@babel/preset-typescript": "^7.12.7",
        "@types/eslint": "^7.2.5",
        "@types/jest": "^26.0.15",
        "@types/node": "^14",
        "@typescript-eslint/eslint-plugin": "^4.9.0",
        "@typescript-eslint/parser": "^4.9.0",
        "eslint": "^7.14.0",
        "esm": "^3.2.25",
        "jest": "^26.6.3",
        "prettier": "^2.2.1",
        "semver": "^7.3.2",
        "typescript": "^4.1.2"
    },
    "peerDependencies": {},
    "// The correct name is bundledDependencies": true,
    "// The name is bundleDependencies is also honoured": true,
    "// bundledDependencies": "... is an array of package names",
    "// bundledDependencies: See": "https://docs.npmjs.com/cli/v6/configuring-npm/package-json#bundleddependencies",
    "bundledDependencies": [],
    "optionalDependencies": {},
    "engines": {
        "node": ">= 10"
    },
    "os": [
        "darwin",
        "linux",
        "win32"
    ],
    "cpu": [
        "ia32",
        "x64"
    ],
    "contributors": [
        "Autonomous Weapons Systems Unlimited <killer@robots.com>",
        "Buddy Guy <deadbeef@decafbad.gov>",
        "Deprecated <deadc0de@obso1337.org>",
        "Locutus <cube@cyb.org>",
        "Sgt. Pepper <shoot1st@thinkl8r.mil>"
    ],
    "author": "Tom Weatherhead <thaw@2hrd4u.org> (https://github.com/tom-weatherhead)",
    "license": "MIT"
}