@keislamoglu/react-conditional
Version:
Reduce the complexity of conditional rendering.
87 lines (86 loc) • 2.32 kB
JSON
{
"name": "@keislamoglu/react-conditional",
"version": "1.1.4",
"description": "Reduce the complexity of conditional rendering.",
"author": "Kadir Emin İslamoğlu <kadiremin@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/keislamoglu/react-conditional.git"
},
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"devDependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/react-hooks": "^3.7.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^16.9.53",
"@typescript-eslint/eslint-plugin": "^4.6.1",
"@typescript-eslint/parser": "^4.6.1",
"babel-core": "^6.26.3",
"babel-runtime": "^6.26.0",
"eslint": "^7.12.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.0",
"jest": "26.6.0",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-scripts": "4.0.1",
"react-test-renderer": "^17.0.1",
"tsdx": "^0.14.1",
"typescript": "^4.0.3"
},
"scripts": {
"build": "tsdx build --entry src/index.ts --target node --tsconfig ./tsconfig.prod.json",
"start": "tsdx watch",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint . --ext ts --ext tsx --fix",
"type-check": "tsc --project tsconfig.json --pretty --noEmit"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-push": "yarn type-check && yarn lint"
}
},
"keywords": [
"react",
"react hooks",
"conditional",
"conditional rendering",
"npm"
],
"bugs": {
"url": "https://github.com/keislamoglu/react-conditional/issues"
},
"homepage": "https://github.com/keislamoglu/react-conditional#readme"
}