UNPKG

lazy-preload

Version:

Wraps the React.lazy API with preloaded functionality

62 lines 1.86 kB
{ "name": "lazy-preload", "version": "0.0.3", "description": "Wraps the React.lazy API with preloaded functionality", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib" ], "author": "Eno Yao <kalone.cool@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/wscats/lazy-preload.git" }, "bugs": { "url": "https://github.com/wscats/lazy-preload/issues" }, "homepage": "https://github.com/wscats/lazy-preload#readme", "keywords": [ "React", "Lazy", "Preload" ], "scripts": { "build": "tsc -p tsconfig.build.json", "lint": "eslint -f codeframe --ext .js,.ts,.tsx src/", "test": "jest", "test:watch": "npm run test -- --watch" }, "dependencies": {}, "devDependencies": { "@babel/core": "^7.10.2", "@babel/preset-env": "^7.10.2", "@babel/preset-react": "^7.10.1", "@babel/preset-typescript": "^7.10.1", "@testing-library/react": "^10.2.1", "@types/jest": "^26.0.0", "@types/react": "^16.9.36", "@types/react-dom": "^16.9.8", "@typescript-eslint/eslint-plugin": "^3.2.0", "@typescript-eslint/parser": "^3.2.0", "babel-jest": "^26.0.1", "eslint": "^7.2.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-import": "^2.21.2", "eslint-plugin-react": "^7.20.0", "husky": "^4.2.5", "jest": "^26.0.1", "jest-watch-typeahead": "^0.6.0", "prettier": "^2.0.5", "pretty-quick": "^2.0.1", "react": "^16.13.1", "react-dom": "^16.13.1", "typescript": "~3.9.5" }, "husky": { "hooks": { "pre-commit": "pretty-quick --staged" } } }