-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.48 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.48 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "react-socket-store",
"version": "0.0.5",
"description": "It is for easily using Websocket in React.It inspired by React-redux.",
"keywords": [
"react",
"websocket",
"socket store",
"react-websocket"
],
"author": "nerdchanii <nerdchanii@gmail.com>",
"license": "MIT",
"packageManager": "npm@11.12.1",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"exports": {
".": {
"types": "./lib/esm/index.d.ts",
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js"
}
},
"files": [
"lib"
],
"directories": {
"example": "example"
},
"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir lib/cjs",
"typecheck": "tsc --noEmit",
"type-test": "tsc -p tsconfig.test-d.json",
"test": "vitest run",
"docs:dev": "vitepress dev docs/public",
"docs:build": "vitepress build docs/public",
"docs:preview": "vitepress preview docs/public",
"docs:snippets": "node scripts/check-public-doc-snippets.cjs",
"lint:eslint": "eslint --max-warnings=0 \"src/**/*.{ts,tsx}\" \"tests/**/*.{ts,tsx}\"",
"lint:imports": "node scripts/check-public-imports.cjs",
"lint": "npm run lint:imports && npm run lint:eslint && npm run typecheck && npm run type-test && npm run docs:snippets",
"pack:dry-run": "npm pack --dry-run",
"prepack": "npm run lint && npm run test && npm run build"
},
"peerDependencies": {
"react": ">=18 <20",
"react-dom": ">=18 <20"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
}
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/node": "^25.9.1",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^8.60.0",
"@typescript-eslint/parser": "^8.60.0",
"eslint": "^10.4.0",
"eslint-plugin-react-hooks": "^7.1.1",
"jsdom": "^29.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.9.3",
"vitepress": "^1.6.4",
"vitest": "^4.1.7"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nerdchanii/react-socket-store.git"
},
"bugs": {
"url": "https://github.com/nerdchanii/react-socket-store/issues"
},
"homepage": "https://nerdchanii.github.io/react-socket-store/",
"dependencies": {
"socket-store": "^0.0.3"
}
}