-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
91 lines (91 loc) · 2.93 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "@harelpls/use-pusher",
"version": "7.2.1",
"description": "A wrapper around pusher-js for easy-as hooks in React.",
"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",
"@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": "^1.3.2",
"babel-jest": "^26.3.0",
"cross-env": "^7.0.2",
"dts-bundle-generator": "^5.3.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": "^2.26.3",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.0.2",
"rollup-plugin-dts": "^1.1.6",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-typescript2": "^0.27.2",
"rollup-plugin-url": "^3.0.1",
"ts-jest": "^26.2.0",
"typedoc": "^0.18.0",
"typescript": "^3.8.3"
}
}