-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (71 loc) · 2.74 KB
/
package.json
File metadata and controls
77 lines (71 loc) · 2.74 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
{
"name": "sock-state",
"version": "0.1.7",
"description": "Redux-like state container over Web Sockets",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/**/*"
],
"scripts": {
"clean-unit-tests": "rimraf ./build-test",
"build-unit-tests": "tsc -p ./tsconfig.unit-tests.json",
"run-unit-tests": "jest",
"unit-tests": "npm run clean-unit-tests && npm run build-unit-tests && npm run run-unit-tests",
"lint": "eslint -c .eslintrc.json ./src --ext .ts",
"lint-errors-only": "eslint -c .eslintrc.json ./src --ext .ts --quiet",
"clean-ts-dist": "rimraf ./lib",
"build-ts-dist": "npm run clean-ts-dist && tsc -p ./tsconfig.dist.json",
"clean-ts": "rimraf ./build-ts",
"build-ts": "npm run clean-ts && tsc -p ./tsconfig.all.json",
"clean": "npm run clean-unit-tests && npm run clean-ts && npm run clean-ts-dist",
"build-chat-app-client": "esbuild \"./examples/chat-app/client/index.ts\" --outfile=\"./examples/chat-app/build/client/index.js\" --bundle --platform=browser --sourcemap",
"build-chat-app-server": "esbuild \"./examples/chat-app/server/index.ts\" --outfile=\"./examples/chat-app/build/server/index.js\" --bundle --format=cjs --platform=node --sourcemap",
"build-chat-app": "npm run build-chat-app-client && npm run build-chat-app-server",
"run-chat-app": "node ./examples/chat-app/build/server/index.js",
"chat-app": "npm run build-chat-app && npm run run-chat-app",
"check": "npm run lint-errors-only && npm run build-ts && npm run unit-tests && npm run build-chat-app && echo Done!"
},
"repository": "https://github.com/samhuk/sock-state",
"keywords": ["websockets", "state", "redux", "container", "distributed", "sockstate"],
"author": {
"name": "Sam Hughes",
"email": "samhughes1701@hotmail.co.uk",
"url": "https://linktr.ee/samhuk"
},
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/samhuk"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"uuid": "^9.0.0",
"ws": "^8.12.0"
},
"devDependencies": {
"@samhuk/type-helpers": "^1.0.3",
"@types/jest": "^29.1.2",
"@types/node": "^18.8.3",
"@types/uuid": "^9.0.0",
"@types/ws": "^8.5.4",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"babel-jest": "^29.1.2",
"concurrently": "^7.4.0",
"env-cmd": "^10.1.0",
"esbuild": "^0.17.7",
"eslint": "^8.25.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.31.9",
"jest": "^29.1.2",
"rimraf": "^3.0.2",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
}
}