forked from coma/react-socket
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.77 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 1.77 KB
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
{
"name": "@collmot/react-socket",
"description": "A React wrapper for Socket.IO, forked from react-socket",
"homepage": "https://github.com/collmot/react-socket",
"repository": {
"type": "git",
"url": "git://github.com/collmot/react-socket.git"
},
"bugs": {
"url": "https://github.com/coma/react-socket/issues",
"email": "eduardo@sincrolab.es"
},
"author": {
"name": "Eduardo García Sanz",
"email": "eduardo@comakai.com"
},
"main": "lib",
"version": "2.0.1",
"license": "MIT",
"private": false,
"keywords": [
"react",
"socket.io",
"react-component"
],
"peerDependencies": {
"react": "^16 || ^17 || ^18 || ^19"
},
"dependencies": {
"prop-types": "^15.7.2",
"socket.io-client": "^4.4.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.6",
"@babel/preset-env": "^7.8.6",
"@babel/preset-react": "^7.8.3",
"enzyme": "^3.11.0",
"eslint": "^8.3.0",
"faucet": "0.0.1",
"glob": "^7.1.6",
"npm-run-all": "^4.1.5",
"nyc": "^15.0.0",
"react": "^17.0.2",
"rimraf": "^3.0.2",
"sinon": "^12.0.1",
"tape": "^5.3.2",
"webpack": "^5.64.4",
"webpack-cli": "^4.9.1"
},
"scripts": {
"lint": "eslint src",
"test": "NODE_ENV=test babel-node test",
"cover": "nyc --reporter=lcov --reporter=text npm test",
"clean": "rimraf lib/*.*",
"build": "npm-run-all clean build:babel",
"build:babel": "babel src -d lib",
"dist": "webpack --mode production --optimization-minimize ./lib/dist.js ./dist.js",
"prepare": "npm-run-all build dist"
}
}