UNPKG

react-new-hoc

Version:

Work with React and HOCs (Higher-Order Components)

76 lines (75 loc) 2.07 kB
{ "name": "react-new-hoc", "version": "0.0.23-wip001", "description": "Work with React and HOCs (Higher-Order Components)", "keywords": [ "react", "reactjs", "react-component", "hoc", "hocs", "higher-order", "component", "with" ], "repository": { "type": "git", "url": "git+https://github.com/leobastiani/react-new-hoc.git" }, "license": "MIT", "author": "Leonardo Guarnieri de Bastiani (leogbastiani@gmail.com)", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts", "files": [ "src", "dist", "LICENSE", "README.md" ], "scripts": { "build": "yarn build:esm && yarn build:cjs", "build:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir dist/cjs", "build:esm": "tsc --project tsconfig.build.json", "clean": "rimraf dist", "lint": "eslint . --max-warnings=0", "prepublishOnly": "yarn clean && yarn test && yarn lint", "test": "jest" }, "dependencies": { "react-is": "^18.2.0" }, "devDependencies": { "@babel/core": "^7.22.5", "@babel/preset-env": "^7.22.5", "@babel/preset-react": "^7.22.5", "@babel/preset-typescript": "^7.22.5", "@testing-library/react": "^14.0.0", "@types/jest": "^29.5.2", "@types/node": "^20.3.1", "@types/react": "^18.2.12", "@types/react-is": "^18.2.0", "@typescript-eslint/eslint-plugin": "^5.59.11", "@typescript-eslint/parser": "^5.59.11", "babel-jest": "^29.5.0", "eslint": "^8.43.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-jest": "^27.2.1", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "hotscript": "^1.0.13", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "prettier": "^2.8.8", "react": ">=18", "react-dom": ">=18", "rimraf": "^5.0.1", "tsd": "^0.28.1", "type-fest": "^3.12.0", "typescript": "^5.2.0-dev.20230702" }, "tsd": { "directory": "test-d" } }