-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
71 lines (71 loc) · 1.97 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
{
"name": "use-socket-io-react",
"version": "0.2.1",
"description": "React.js wrapper for socket.io-client",
"repository": "https://github.com/kamiloox/use-socket-io-react",
"author": "kamiloox",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "yarn format && yarn lint && tsup src/index.ts",
"dev": "tsup --watch --clean",
"prepare": "husky install",
"lint": "eslint --fix",
"format": "prettier --write .",
"test": "jest",
"test:watch": "jest --watch",
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"react": ">=17.0.2",
"react-dom": ">=17.0.2"
},
"devDependencies": {
"@babel/core": "^7.18.13",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "12.1.2",
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "^29.0.0",
"@types/react": "17.0.2",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"babel-jest": "^29.0.1",
"core-js": "^3.25.0",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.0",
"eslint-plugin-functional": "^4.2.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-react": "^7.31.1",
"husky": "^8.0.0",
"jest": "^29.0.1",
"jest-environment-jsdom": "^29.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-test-renderer": "17.0.2",
"socket.io": "^4.5.2",
"tsup": "^6.2.3",
"typescript": "^4.8.2"
},
"dependencies": {
"socket.io-client": "^4.5.1"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"yarn lint",
"yarn format"
]
}
}