UNPKG

react-metatags-hook

Version:
75 lines (74 loc) 2.27 kB
{ "name": "react-metatags-hook", "version": "2.0.0", "description": "React Hook to manage html meta tags", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "author": "Lorenzo Zottar <lordgiotto@gmail.com>", "license": "MIT", "keywords": [ "react", "hook", "meta", "tag", "dom" ], "repository": { "type": "git", "url": "git+https://github.com/lordgiotto/react-metatags-hook.git" }, "bugs": { "url": "https://github.com/lordgiotto/react-metatags-hook/issues" }, "homepage": "https://github.com/lordgiotto/react-metatags-hook/", "scripts": { "prepare": "husky", "build": "concurrently -c auto yarn:build:cjs yarn:build:esm", "build:cjs": "tsc -p ./tsconfig.build.json --module commonJS --outDir ./dist/cjs", "build:esm": "tsc -p ./tsconfig.build.json --module esnext --outDir ./dist/esm", "prebuild": "yarn clean:build", "clean:build": "rimraf ./dist", "test": "jest", "test:ui": "majestic", "check:ts": "tsc --noEmit --pretty", "check:lint": "eslint --color ./src", "check:prettier": "prettier -u --check .", "check:all": "concurrently -c auto --kill-others-on-fail yarn:check:ts yarn:check:lint yarn:check:prettier", "check:all:staged": "lint-staged", "fix:lint": "eslint --fix ./src", "fix:prettier": "prettier -u --write ." }, "files": [ "README.md", "CHANGELOG.md", "/dist" ], "devDependencies": { "@testing-library/react": "^14.2.1", "@types/jest": "^29.5.12", "@types/react": "^18.2.52", "@types/react-dom": "^18.2.18", "@typescript-eslint/eslint-plugin": "^6.20.0", "@typescript-eslint/parser": "^6.20.0", "concurrently": "^8.2.2", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-react": "^7.21.5", "eslint-plugin-react-hooks": "^4.2.0", "husky": "^9.0.10", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "lint-staged": "^15.2.1", "majestic": "^1.7.0", "prettier": "^3.2.5", "react": "^18.2.0", "react-dom": "^18.2.0", "ts-jest": "^29.1.2", "typescript": "^5.3.3" }, "peerDependencies": { "react": ">=16.8.0" } }