react-conditional-components-renderer
Version:
React library with conditional components to rendering
74 lines (73 loc) • 2.16 kB
JSON
{
"name": "react-conditional-components-renderer",
"version": "1.1.0",
"description": "React library with conditional components to rendering",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test:w": "jest --watchAll",
"test:v": "jest --verbose",
"test:c": "jest --coverage",
"test:d": "jest --debug",
"test": "jest",
"clean": "rm -Rf dist",
"build": "npm run clean && tsc --skipLibCheck -p .",
"update:c": "npx npm-check-updates",
"update:u": "npx npm-check-updates -u",
"husky-install": "husky install && chmod ug+x .husky/*"
},
"keywords": [
"react",
"typescript",
"conditional",
"components"
],
"author": "reginaldoMorais <reginaldo.cmorais@gmail.com>",
"repository": "https://github.com/reginaldoMorais/react-conditional-components-renderer.git",
"license": "ISC",
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.9.0"
},
"peerDependencies": {
"react": "17.x",
"react-dom": "17.x",
"react-router-dom": "5.x"
},
"devDependencies": {
"@commitlint/cli": "^17.5.1",
"@commitlint/config-conventional": "^17.4.4",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.5.0",
"@types/react": "^18.0.30",
"@types/react-dom": "^18.0.11",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"eslint": "^8.36.0",
"eslint-plugin-import-helpers": "^1.3.1",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"prettier": "^2.8.7",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
},
"lint-staged": {
"src/**/*": [
"prettier --write",
"eslint --cache --fix"
]
},
"hooks": {
"commit-msg": "sh ./husky/commit-msg"
}
}