@jcm/use-pusher
Version:
Fork of harelpls/use-pusher with the latest changes on master
96 lines (95 loc) • 3.08 kB
JSON
{
"name": "@jcm/use-pusher",
"version": "8.0.0",
"private": false,
"description": "Fork of harelpls/use-pusher with the latest changes on master",
"author": "@mayteio",
"keywords": [
"react",
"react hooks",
"pusher",
"channels",
"pusher-js",
"websockets",
"realtime messaging",
"typescript"
],
"license": "MIT",
"repository": "https://github.com/mayteio/use-pusher",
"files": [
"dist",
"react-native"
],
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"scripts": {
"test": "cross-env CI=1 yarn test:web && yarn test:native",
"test:web": "jest --config=jest.config.js",
"test:native": "JEST_ENV=rn jest --config=jest.rn.config.js",
"build": "rimraf dist react-native && rollup -c",
"start": "rollup -c -w",
"types": "yarn types:web && yarn types:native",
"types:web": "dts-bundle-generator -o ./dist/index.d.ts ./src/web/index.ts --external-imports pusher-js",
"types:native": "dts-bundle-generator -o ./react-native/index.d.ts ./src/native/index.ts --external-imports=pusher-js",
"docs": "typedoc --options ./typedoc.js ./src && netlify deploy --prod",
"release": "yarn test && yarn build && yarn types && yarn publish"
},
"dependencies": {
"dequal": "^2.0.1",
"invariant": "^2.2.4",
"pusher-js": "^7.3.0"
},
"peerDependencies": {
"react": ">=16.9.0"
},
"devDependencies": {
"@babel/core": "^7.8.6",
"@babel/plugin-proposal-class-properties": "^7.10.1",
"@babel/plugin-transform-flow-strip-types": "^7.10.1",
"@babel/plugin-transform-object-assign": "^7.10.3",
"@babel/preset-env": "^7.8.6",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.3.1",
"@react-native-community/netinfo": "^5.9.3",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.5",
"@rollup/plugin-url": "^8.0.2",
"@testing-library/react": "^10.4.8",
"@testing-library/react-hooks": "^3.4.1",
"@testing-library/react-native": "^7.0.2",
"@types/invariant": "^2.2.30",
"@types/jest": "^26.0.10",
"@types/react": "^16.7.22",
"@wessberg/rollup-plugin-ts": "^2.0.4",
"babel-jest": "^26.3.0",
"cross-env": "^7.0.2",
"dts-bundle-generator": "^9.0.0",
"gh-pages": "^3.1.0",
"jest": "^26.4.0",
"jest-fetch-mock": "^3.0.3",
"pusher-js-mock": "mayteio/pusher-js-mock#feature/presence-channels-release",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-native": "^0.63.2",
"react-native-typescript-transformer": "^1.2.13",
"react-test-renderer": "^16.9.0",
"rimraf": "^3.0.2",
"rollup": "^4.9.0",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"ts-jest": "^26.2.0",
"typedoc": "^0.18.0",
"typescript": "^5.3.3"
},
"resolutions": {
"@types/react": "^16.7.22"
}
}