UNPKG

react-lazy-hydration

Version:

Lazy Hydration for Server Rendered React Components

95 lines (94 loc) 2.52 kB
{ "name": "react-lazy-hydration", "version": "0.1.0", "description": "Lazy Hydration for Server Rendered React Components", "source": "./src/index.tsx", "main": "./dist/index.js", "module": "./dist/index.esm.js", "browser": { "./dist/index.js": "./dist/index.browser.js", "./dist/index.esm.js": "./dist/index.browser.esm.js" }, "types": "./types/index.d.ts", "author": { "name": "Hadeeb Farhan", "email": "hadeebfarhan1@gmail.com" }, "license": "MIT", "sideEffects": false, "files": [ "dist", "types" ], "repository": { "type": "git", "url": "https://github.com/hadeeb/react-lazy-hydration.git" }, "bugs": { "url": "https://github.com/hadeeb/react-lazy-hydration/issues" }, "homepage": "https://github.com/hadeeb/react-lazy-hydration#readme", "keywords": [ "react", "ssr", "lazy hydration", "hydration" ], "scripts": { "prebuild": "rimraf dist types", "build": "rollup -c", "postbuild": "tsc", "prepublishOnly": "yarn build", "lint": "eslint src/** --fix" }, "dependencies": { "@babel/runtime": "^7.9.2" }, "peerDependencies": { "react": ">=16.8.0" }, "devDependencies": { "@babel/core": "^7.9.0", "@babel/helper-module-imports": "^7.8.3", "@babel/plugin-transform-react-jsx": "^7.9.4", "@babel/plugin-transform-runtime": "^7.9.0", "@babel/preset-env": "^7.9.5", "@babel/preset-typescript": "^7.9.0", "@types/react": "^16.9.32", "@typescript-eslint/eslint-plugin": "^2.27.0", "@typescript-eslint/parser": "^2.27.0", "babel-eslint": "^10.1.0", "babel-plugin-macros": "^2.8.0", "eslint": "^6.8.0", "eslint-config-prettier": "^6.10.1", "eslint-config-react-app": "^5.2.1", "eslint-plugin-flowtype": "^4.7.0", "eslint-plugin-import": "^2.20.2", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-prettier": "^3.1.2", "eslint-plugin-react": "^7.19.0", "eslint-plugin-react-hooks": "^3.0.0", "eslint-plugin-simple-import-sort": "^5.0.2", "husky": "^4.2.3", "lint-staged": "^10.1.2", "prettier": "^1.19.1", "react": "^16.13.1", "rimraf": "^3.0.2", "rollup": "^2.4.0", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-replace": "^2.2.0", "typescript": "^3.8.3" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{js,ts,tsx}": [ "eslint --fix", "git add" ] } }