react-with-hoc
Version:
Work with React and HOCs (Higher-Order Components)
84 lines (83 loc) • 2.4 kB
JSON
{
"name": "react-with-hoc",
"version": "0.0.23-wip035",
"description": "Work with React and HOCs (Higher-Order Components)",
"keywords": [
"higher-order",
"higher",
"order",
"component",
"hoc",
"hocs",
"react-component",
"react-native",
"react",
"reactjs",
"recompose",
"with"
],
"repository": {
"type": "git",
"url": "git+https://github.com/leobastiani/react-with-hoc.git"
},
"license": "MIT",
"author": "Leonardo Guarnieri de Bastiani (leogbastiani@gmail.com)",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"types": "lib/module/index.d.ts",
"react-native": "src/index.tsx",
"source": "src/index.tsx",
"sideEffects": false,
"files": [
"src",
"lib",
"LICENSE"
],
"scripts": {
"build": "yarn clean && bin/build-cjs && bin/build-esm && yarn build:types && bin/generate-mappings",
"build:types": "npx tsc --outDir lib/module --emitDeclarationOnly --project tsconfig.build.json",
"clean": "rimraf lib",
"lint": "eslint . --max-warnings=0 --report-unused-disable-directives",
"prepublishOnly": "yarn clean && yarn build && yarn test && yarn tsc && yarn lint && yarn tsd",
"test": "jest",
"tsc": "tsc --noEmit",
"tsd": "node --max_old_space_size=8000 node_modules/.bin/tsd"
},
"dependencies": {
"hotscript": "*"
},
"devDependencies": {
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.7",
"@babel/preset-env": "^7.23.8",
"@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.10.7",
"@types/react": "^18.2.47",
"@types/react-is": "^18.2.0",
"@typescript-eslint/eslint-plugin": "^6.18.0",
"@typescript-eslint/parser": "^6.18.0",
"babel-jest": "^29.5.0",
"babel-types": "^6.26.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^27.6.1",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"prettier": "^3.1.1",
"react": ">=18",
"react-dom": ">=18",
"rimraf": "^5.0.1",
"tsd": "^0.30.3",
"typedoc": "^0.25.7",
"typescript": "^5.2.2"
},
"tsd": {
"directory": "test-d"
}
}