{
    "name": "fitdim",
    "version": "1.0.0",
    "description": "Scales an N-dimensional array to perfectly fit within a bounding box, maintaining proportions.",
    "type": "module",
    "main": "./gen/index.cjs",
    "exports": {
        "import": "./src/index.js",
        "require": "./gen/index.cjs"
    },
    "types": "./index.d.ts",
    "files": [
        "./src/",
        "./gen"
    ],
    "license": "Apache-2.0",
    "author": {
        "name": "Alex Stevovich",
        "email": "alex.stevovich@gmail.com",
        "url": "https://alexstevovich.com"
    },
    "repository": {
        "type": "git",
        "url": "git+https://github.com/alexstevovich/fitdim.git"
    },
    "scripts": {
        "test": "vitest",
        "preamble": "preamble --apply --dir ./src/",
        "zord": "filezord --zord --dir ./ --id pkg:fitdim",
        "pretty": "npx prettier --write .",
        "lint": "eslint ./src/",
        "lint:fix": "eslint --fix ./src/",
        "build": "npm run preamble && npm run pretty && npm run lint:fix && node build.js && preamble --apply --dir ./gen/  && npm run zord"
    },
    "keywords": [
        "fit",
        "dimensions",
        "resize",
        "scale",
        "bounding-box",
        "aspect-ratio",
        "proportional",
        "geometry",
        "math",
        "utility",
        "n-dimensional",
        "normalize",
        "box-fit",
        "constraint",
        "bounding"
    ],
    "devDependencies": {
        "@eslint/js": "^9.22.0",
        "eslint": "^9.21.0",
        "eslint-plugin-prettier": "^5.2.3",
        "markdownlint": "^0.37.4",
        "markdownlint-cli": "^0.44.0",
        "prettier": "^3.5.3",
        "vitest": "^3.0.8"
    }
}
