conditional-wrapper
Version:
A React component with which you can conditionally wrap child components
51 lines (50 loc) • 1.31 kB
JSON
{
"name": "conditional-wrapper",
"version": "1.0.3",
"description": "A React component with which you can conditionally wrap child components",
"main": "build/index.js",
"module": "build/index.es.js",
"jsnext:main": "build/index.es.js",
"files": [
"build"
],
"scripts": {
"build": "rollup -c",
"test": "jest"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom"
},
"keywords": [
"react",
"typescript",
"HoC"
],
"author": "Michael van den Oudenalder",
"repository": {
"type": "git",
"url": "https://github.com/michaelvdo/conditional-wrapper"
},
"license": "ISC",
"devDependencies": {
"@rollup/plugin-commonjs": "^20.0.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.1",
"@types/jest": "^27.0.2",
"@types/react": "^17.0.25",
"@types/react-dom": "^17.0.9",
"@types/react-test-renderer": "^17.0.1",
"jest": "^27.2.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts-ts": "^3.1.0",
"react-test-renderer": "^17.0.2",
"rollup": "^2.57.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "^27.0.5",
"typescript": "^4.4.3"
}
}