UNPKG

react-async-ssr

Version:
87 lines (86 loc) 2.56 kB
{ "name": "react-async-ssr", "version": "0.7.2", "description": "Render React Suspense on server", "main": "index.js", "files": [ "symbols.js", "lib/**/*.js" ], "author": { "name": "Overlook Motel" }, "repository": { "type": "git", "url": "https://github.com/overlookmotel/react-async-ssr.git" }, "bugs": { "url": "https://github.com/overlookmotel/react-async-ssr/issues" }, "dependencies": { "is-class-component": "^1.1.1", "is-it-type": "^3.1.1", "is-promise": "^2.1.0", "lodash": "^4.17.15", "react-dom": "~16.9.0" }, "peerDependencies": { "react": "16.6.0 - 16.9.x" }, "devDependencies": { "@babel/core": "^7.9.0", "@babel/preset-env": "^7.9.5", "@babel/preset-react": "^7.9.4", "@overlookmotel/eslint-config": "^7.1.2", "@overlookmotel/eslint-config-node": "^2.0.0", "@overlookmotel/eslint-config-jest": "^4.0.1", "@overlookmotel/eslint-config-react": "^7.0.0", "babel-eslint": "^10.1.0", "babel-jest": "^25.4.0", "cheerio": "^1.0.0-rc.3", "coveralls": "^3.0.13", "cross-env": "^7.0.2", "eslint": "^6.8.0", "eslint-config-airbnb": "^18.1.0", "eslint-config-airbnb-base": "^14.1.0", "eslint-plugin-eslint-comments": "^3.1.2", "eslint-plugin-import": "^2.20.2", "eslint-plugin-jest": "^23.8.2", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-node": "^11.1.0", "eslint-plugin-react": "^7.19.0", "eslint-plugin-react-hooks": "^2.5.1", "fs-extra": "^9.0.0", "jest": "^25.4.0", "jest-each-object": "^1.0.0", "jsdom": "^16.2.2", "prop-types": "^15.7.2", "react": "~16.9.0" }, "keywords": [ "react", "suspense", "lazy", "server", "render", "ssr", "async" ], "scripts": { "test": "npm run lint && npm run test-main", "lint": "eslint *.js .*.js lib/** test/** --ext .js", "lint-fix": "eslint *.js .*.js lib/** test/** --ext .js --fix", "test-main": "npm run test-only && npm run test-only-prod", "test-only": "cross-env NODE_ENV=development jest", "test-only-prod": "cross-env NODE_ENV=production jest", "cover": "npm run cover-main && rm -rf coverage", "coveralls": "npm run cover-main && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage", "cover-main": "cross-env COVERAGE=true NODE_ENV=development jest --coverage", "ci": "if [ $COVERAGE ]; then npm run coveralls; else npm test; fi" }, "engines": { "node": ">=10" }, "readmeFilename": "README.md", "license": "MIT" }