react-with-dynamic
Version:
Improved lazy loading in React with suspense and error boundary
97 lines (96 loc) • 2.55 kB
JSON
{
"name": "react-with-dynamic",
"version": "0.0.7",
"description": "Improved lazy loading in React with suspense and error boundary",
"author": "Jakub Biesiada",
"license": "MIT",
"main": "lib/react-with-dynamic.cjs.js",
"module": "lib/react-with-dynamic.esm.js",
"types": "lib/index.d.ts",
"scripts": {
"prepack": "npm run clean && npm run prettier && npm run lint && npm run build",
"clean": "rimraf lib/*",
"build": "rollup -c",
"test": "jest --coverage",
"watch": "npm run build -- --watch",
"watch:test": "npm run test -- --watch",
"lint": "eslint 'src/**/*.{tsx,ts}' --fix",
"prettier": "prettier --write 'src/**/*.{tsx,ts}'",
"commit": "git-cz",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "https://github.com/JB1905/react-with-dynamic.git"
},
"keywords": [
"react",
"component",
"dynamic",
"lazy",
"load",
"error-boundaries",
"suspense"
],
"bugs": {
"url": "https://github.com/JB1905/react-with-dynamic/issues"
},
"homepage": "https://github.com/JB1905/react-with-dynamic#readme",
"dependencies": {
"react-error-isolation": "^0.0.1",
"react-suspenser": "^1.1.4",
"recompose": "^0.30.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^11.2.1",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.6",
"@types/jest": "^26.0.22",
"@types/react": "^17.0.3",
"@types/recompose": "^0.30.7",
"@typescript-eslint/parser": "^4.22.0",
"cz-conventional-changelog": "3.3.0",
"cz-emoji": "^1.3.1",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.23.2",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"semantic-release": "^17.4.2",
"semantic-release-gitmoji": "^1.3.4",
"ts-jest": "^26.5.5",
"typescript": "^4.2.4"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"config": {
"commitizen": {
"path": "cz-emoji"
}
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{tsx,ts}": [
"npm run prettier",
"npm run lint"
]
}
}