Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
6.2.0 6caa2b6 Apr 27, 2019
2 contributors

Users who have contributed to this file

@ghengeveld @byCedric
96 lines (95 sloc) 2.67 KB
{
"name": "react-async",
"version": "6.2.0",
"description": "React component for declarative promise resolution and data fetching",
"keywords": [
"react",
"async",
"promise",
"fetch",
"hook"
],
"author": "Gert Hengeveld <info@ghengeveld.nl>",
"license": "ISC",
"homepage": "https://react-async.dev",
"repository": {
"type": "git",
"url": "git+https://github.com/ghengeveld/react-async.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"lint": "eslint src",
"test": "jest src/*.spec.js",
"test:watch": "npm test -- --watch",
"test:hooks": "jest src/useAsync.spec.js --collectCoverageFrom=src/useAsync.js",
"test:components": "jest src/Async.spec.js --collectCoverageFrom=src/Async.js",
"test:backwards": "npm i react@16.3.1 react-dom@16.3.1 --no-save && npm run test:components",
"test:forwards": "npm i react@next react-dom@next --no-save && npm test",
"test:latest": "npm i react@latest react-dom@latest --no-save && npm test",
"test:compat": "npm run test:backwards && npm run test:forwards && npm run test:latest",
"build": "pack build",
"publish": "pack publish",
"prepublishOnly": "npm run lint && npm run test:compat && npm run build"
},
"dependencies": {},
"peerDependencies": {
"react": ">=16.3.1"
},
"optionalDependencies": {
"prop-types": ">=15.5.7"
},
"devDependencies": {
"@babel/plugin-proposal-object-rest-spread": "7.4.3",
"@babel/plugin-transform-runtime": "7.4.3",
"@babel/preset-env": "7.4.3",
"@babel/preset-react": "7.0.0",
"@pika/pack": "0.3.7",
"@pika/plugin-build-node": "0.3.15",
"@pika/plugin-build-types": "0.3.16",
"@pika/plugin-build-web": "0.3.15",
"@pika/plugin-standard-pkg": "0.3.15",
"babel-eslint": "10.0.1",
"babel-jest": "24.7.1",
"eslint": "5.16.0",
"eslint-config-prettier": "4.1.0",
"eslint-plugin-jest": "22.4.1",
"eslint-plugin-prettier": "3.0.1",
"eslint-plugin-promise": "4.1.1",
"eslint-plugin-react": "7.12.4",
"eslint-plugin-react-hooks": "1.6.0",
"jest": "24.7.1",
"jest-dom": "3.1.3",
"prettier": "1.17.0",
"react": "16.8.6",
"react-dom": "16.8.6",
"react-testing-library": "6.1.2"
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "./coverage/"
},
"@pika/pack": {
"pipeline": [
[
"@pika/plugin-standard-pkg",
{
"exclude": [
"specs.js",
"*.spec.js"
]
}
],
[
"@pika/plugin-build-node"
],
[
"@pika/plugin-build-web"
],
[
"@pika/plugin-build-types"
]
]
}
}
You can’t perform that action at this time.