{
    "name": "next-gallery",
    "version": "3.0.0",
    "description": "Responsive photo gallery layout utilities with optional React and Next.js components",
    "main": "./dist/cjs/index.js",
    "module": "./dist/esm/index.js",
    "types": "./dist/types/index.d.ts",
    "exports": {
        ".": {
            "types": "./dist/types/index.d.ts",
            "import": "./dist/esm/index.js",
            "require": "./dist/cjs/index.js"
        },
        "./react": {
            "types": "./dist/types/react.d.ts",
            "import": "./dist/esm/react.js",
            "require": "./dist/cjs/react.js"
        },
        "./next": {
            "types": "./dist/types/next.d.ts",
            "import": "./dist/esm/next.js",
            "require": "./dist/cjs/next.js"
        },
        "./package.json": {
            "default": "./package.json"
        }
    },
    "files": [
        "dist/",
        "LICENSE",
        "README.md"
    ],
    "repository": {
        "type": "git",
        "url": "git+https://github.com/fmkra/next-gallery.git"
    },
    "keywords": [
        "nextjs",
        "images",
        "react",
        "gallery",
        "photo-gallery"
    ],
    "author": "Filip Krawczyk <kontakt@fkrawczyk.pl>",
    "license": "MIT",
    "bugs": {
        "url": "https://github.com/fmkra/next-gallery/issues"
    },
    "scripts": {
        "clean": "rm -rf dist",
        "build:types": "tsc --emitDeclarationOnly",
        "build:esm": "tsc -p tsconfig.build.json --outDir dist/esm",
        "build:cjs": "tsc -p tsconfig.build.json --module CommonJS --outDir dist/cjs",
        "build:js": "pnpm run build:esm && pnpm run build:cjs",
        "build": "pnpm run build:js && pnpm run build:types",
        "lint": "eslint --ignore-path .gitignore --fix src",
        "format": "prettier --write src",
        "example:plain:install": "cd examples/plain && pnpm install",
        "example:plain": "cd examples/plain && pnpm start",
        "example:react:install": "cd examples/react && pnpm install",
        "example:react:dev": "cd examples/react && pnpm run dev",
        "example:react:build": "cd examples/react && pnpm run build",
        "example:nextjs:install": "cd examples/nextjs && pnpm install",
        "example:nextjs:dev": "cd examples/nextjs && pnpm run dev",
        "example:nextjs:build": "cd examples/nextjs && pnpm run build"
    },
    "peerDependencies": {
        "next": ">= 13.1.1",
        "react": ">= 17.0.2",
        "react-dom": ">= 17.0.2"
    },
    "peerDependenciesMeta": {
        "next": {
            "optional": true
        },
        "react": {
            "optional": true
        },
        "react-dom": {
            "optional": true
        }
    },
    "devDependencies": {
        "@types/node": "^20.4.5",
        "@types/react": "^18.2.17",
        "@types/react-dom": "^18.2.7",
        "eslint": "^8.39.0",
        "eslint-plugin-react": "^7.32.2",
        "lint-staged": "^13.2.2",
        "next": "^13.1.1",
        "prettier": "^2.8.8",
        "react": "^18.2.0",
        "react-dom": "^18.2.0",
        "typescript": "^5.1.6"
    },
    "engines": {
        "node": ">=16.0.0 || >=18.0.0 || >=19.0.0 || >=20.0.0"
    },
    "lint-staged": {
        "*.js": "npm run lint",
        "*.{js,css,md*}": "npm run format"
    }
}
