forked from bfanger/multiplayer-dice-game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.8 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
{
"name": "multiplayer-dice-game",
"private": true,
"type": "module",
"scripts": {
"dev": "yarn build:multiplayer && concurrently --kill-others npm:dev:*",
"dev:multiplayer": "yarn build:multiplayer --watch",
"dev:sveltekit": "svelte-kit dev",
"build": "yarn build:multiplayer && svelte-kit build",
"build:multiplayer": "esbuild src/lib/server/multiplayer.ts --bundle --tsconfig=tsconfig.esbuild.json --outfile=dist/multiplayer.js --platform=node --format=esm --external:redis --external:uuid --external:gravatar --external:jwt-decode --external:lodash-es",
"preview": "svelte-kit preview",
"start": "node ./server.js",
"lint": "concurrently --kill-others-on-fail \"npm:lint:*\"",
"lint:prettier": "prettier --check --loglevel=warn src",
"lint:tsc": "tsc --noEmit",
"lint:eslint": "eslint --ext=js,ts --max-warnings=0 src",
"format": "prettier --write src && eslint --ext=js,ts --fix src",
"prepare": "husky install",
"test": "vitest --passWithNoTests run",
"test:watch": "npm run test -- --watch"
},
"lint-staged": {
"*.ts": [
"eslint --max-warnings 0 --no-ignore",
"sh -c 'tsc -p tsconfig.json --noEmit'"
],
"*.(c)?js": [
"eslint --max-warnings 0 --no-ignore"
],
"*.svelte": [
"svelte-check --fail-on-warnings --fail-on-hints",
"prettier --check"
]
},
"devDependencies": {
"@sveltejs/adapter-node": "next",
"@sveltejs/kit": "next",
"@testing-library/svelte": "^3.0.3",
"@types/express": "^4.17.13",
"@types/gravatar": "^1.8.3",
"@types/http-proxy-middleware": "^1.0.0",
"@types/lodash-es": "^4.17.5",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.8.0",
"concurrently": "^7.0.0",
"eslint": "^8.5.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-triple": "^0.5.1",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-only-warn": "^1.0.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-svelte3": "^3.2.1",
"husky": "^7.0.0",
"jsdom": "^19.0.0",
"lint-staged": "^12.1.5",
"prettier": "^2.4.0",
"prettier-plugin-svelte": "^2.4.0",
"sass": "^1.42.0",
"svelte-check": "^2.2.3",
"svelte-preprocess": "^4.9.5",
"typescript": "^4.4.2",
"vite": "^2.5.5",
"vitest": "^0.6.0"
},
"dependencies": {
"@azure/msal-browser": "^2.17.0",
"dotenv": "^16.0.0",
"express": "^4.17.1",
"gravatar": "^1.8.2",
"http-proxy-middleware": "^2.0.1",
"jwt-decode": "^3.1.2",
"lodash-es": "^4.17.21",
"redis": "^4.0.0-rc.2",
"socket.io": "^4.2.0",
"svelte": "^3.42.6",
"uuid": "^8.3.2"
}
}