UNPKG

@mornya/react-image-libs

Version:
107 lines (106 loc) 2.73 kB
{ "name": "@mornya/react-image-libs", "version": "2.3.3", "description": "The project of React.js Image library.", "keywords": [ "mornya", "vessel", "react.js", "hooks", "next.js", "intersection-observer", "lazy", "lazy-loading", "lazy-background", "lazy-image", "front-end" ], "homepage": "https://github.com/mornya/mornya-react-image-libs", "bugs": "https://github.com/mornya-libs/mornya-react-image-libs/issues", "license": "ISC", "author": "mornya <mornya78@gmail.com>", "private": false, "repository": { "type": "git", "url": "git+https://github.com/mornya-libs/mornya-react-image-libs.git" }, "main": "./dist/index.js", "module": "./esm/index.js", "types": "./dist", "scripts": { "setup": "husky && lintest install || exit 0", "prepublishOnly": "vessel prepublish && vessel build && vessel build --esm", "login": "vessel login", "clean": "vessel clean", "build": "vessel build", "build:esm": "vessel build --esm", "watch": "vessel build --watch", "format": "prettier --write --ignore-path .prettierignore ./src ./types", "check": "vessel check", "init": "lintest uninstall && lintest export", "lint": "lintest lint", "lint:fix": "lintest lint --fix", "test": "lintest test", "test:watch": "lintest test --watch", "test:coverage": "lintest test --coverage", "sonar": "sonar-scanner" }, "publishConfig": { "registry": "https://registry.npmjs.org", "access": "public" }, "files": [ "dist", "!dist/test", "!dist/**/@setup.d.ts", "!dist/**/@setup.js", "!dist/**/*.test.d.ts", "!dist/**/*.test.js", "esm", "!esm/test", "!esm/**/@setup.d.ts", "!esm/**/@setup.js", "!esm/**/*.test.d.ts", "!esm/**/*.test.js", "CHANGELOG.md", "LICENSE", "README.md" ], "engines": { "node": ">=10", "npm": ">=6" }, "dependencies": { "classnames": "^2.5.1", "restriction": "^1.1.1" }, "devDependencies": { "@lintest/core": "^1.17.0", "@types/jest": "^29.5.14", "@types/node": "^24.0.13", "@types/react": "18.3.23", "@types/react-dom": "18.3.7", "eslint": "^8.57.0", "husky": "^9.1.1", "lint-staged": "^16.1.2", "prettier": "^3.6.2", "typescript": "^5.8.3" }, "peerDependencies": { "react": "^16.8 || ^17 || ^18 || ^19", "react-dom": "^16.8 || ^17 || ^18 || ^19" }, "lint-staged": { "*.{css,scss}": [ "prettier --write --ignore-path .prettierignore" ], "*.{ts,tsx}": [ "prettier --write --ignore-path .prettierignore", "lintest check", "lintest lint" ] }, "vessel": { "minVersion": "5.6.0" } }