-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
85 lines (85 loc) · 2.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "multiplayer-dice-game",
"private": true,
"type": "module",
"scripts": {
"dev": "yarn build:multiplayer-d-ts && yarn build:multiplayer && concurrently --kill-others npm:dev:*",
"dev:multiplayer": "yarn build:multiplayer --watch",
"dev:sveltekit": "vite dev",
"build": "yarn build:multiplayer-d-ts && yarn build:multiplayer && vite 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",
"build:multiplayer-d-ts": "mkdir -p dist; cp src/multiplayer.d.ts dist/",
"preview": "vite 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": "vitest"
},
"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": "^1.3.1",
"@sveltejs/kit": "^1.27.4",
"@testing-library/svelte": "^4.0.5",
"@types/express": "^4.17.21",
"@types/gravatar": "^1.8.6",
"@types/http-proxy-middleware": "^1.0.0",
"@types/jwt-encode": "^1.0.3",
"@types/lodash-es": "^4.17.11",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"concurrently": "^8.2.2",
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-triple": "^1.1.3",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-svelte": "^2.35.0",
"happy-dom": "^12.10.3",
"husky": "^8.0.3",
"jwt-encode": "^1.0.1",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"prettier-plugin-svelte": "^3.1.0",
"sass": "^1.69.5",
"svelte-check": "^3.5.2",
"svelte-preprocess": "^5.1.0",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vitest": "^0.34.6"
},
"dependencies": {
"@azure/msal-browser": "^3.5.0",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"gravatar": "^1.8.2",
"http-proxy-middleware": "^2.0.6",
"jwt-decode": "^4.0.0",
"lodash-es": "^4.17.21",
"redis": "^4.6.10",
"socket.io": "^4.7.2",
"svelte": "^4.2.3",
"uuid": "^9.0.1"
}
}