-
Notifications
You must be signed in to change notification settings - Fork 201
Expand file tree
/
Copy pathpackage.json
More file actions
176 lines (176 loc) · 6.3 KB
/
Copy pathpackage.json
File metadata and controls
176 lines (176 loc) · 6.3 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"name": "secret-hitler",
"description": "A web adaptation of the social deduction board game Secret Hitler.",
"version": "1.9.3",
"license": "CC-BY-NC-SA-4.0",
"keywords": [
"boardgame",
"social deduction",
"hidden roles",
"secret hitler"
],
"repository": "https://github.com/cozuya/secret-hitler.git",
"author": "Chris Ozols <chris.v.ozols@gmail.com> (http://twolongos.com)",
"homepage": "https://secrethitler.io",
"bugs": "https://github.com/cozuya/secret-hitler/issues",
"engines": {
"node": ">=24.12.0"
},
"packageManager": "pnpm@10.26.1",
"dependencies": {
"@popperjs/core": "^2.4.4",
"compression": "^1.6.2",
"connect-mongodb-session": "^2.0.5",
"connect-redis": "^3.4.0",
"cookie-parser": "^1.4.7",
"core-js": "^3.45.0",
"cropperjs": "^1.6.2",
"debug": "^3.1.0",
"discord-webhook-node": "^1.1.8",
"dotenv": "^5.0.1",
"express": "^4.15.2",
"express-session": "^1.15.6",
"express-socket.io-session": "^1.3.5",
"gfycat-style-urls": "https://github.com/cozuya/gfycat-style-urls",
"helmet": "^4.2.0",
"immutable": "^4.0.0-rc.6",
"isomorphic-fetch": "^2.2.1",
"jimp": "^0.12.0",
"jquery": "^3.5.0",
"lodash": "^4.17.20",
"mongodb": "^3.1.10",
"mongoose": "^5.7.5",
"morgan": "^1.8.1",
"node-fetch": "^2.6.1",
"nodemailer": "^4.6.5",
"nodemailer-mailgun-transport": "^1.4.0",
"nodemon": "^2.0.3",
"option": "^0.2.3",
"passport": "^0.4.0",
"passport-discord": "^0.1.3",
"passport-github2": "^0.1.11",
"passport-local": "^1.0.0",
"passport-local-mongoose": "^5.0.0",
"pngcrush": "^2.0.1",
"prop-types": "^15.5.10",
"pug": "^3.0.1",
"rc-slider": "^8.4.0",
"react": "16.8.1",
"react-color": "^2.18.0",
"react-cropper": "^2.1.8",
"react-custom-scrollbars": "^4.2.1",
"react-dom": "16.8.1",
"react-dropzone": "^4.2.8",
"react-linkify": "^0.2.2",
"react-popper": "^2.2.3",
"react-redux": "^5.0.6",
"react-select": "^3.0.0",
"react-sweetalert2": "^0.5.1",
"react-switch": "^4.1.0",
"redis": "^2.8.0",
"redux": "^3.7.2",
"redux-saga": "^0.16.0",
"regenerator-runtime": "^0.14.1",
"semantic-ui-checkbox": "^2.2.9",
"semantic-ui-dimmer": "^2.2.9",
"semantic-ui-dropdown": "^2.2.9",
"semantic-ui-form": "^2.2.9",
"semantic-ui-modal": "^2.2.9",
"semantic-ui-popup": "^2.2.9",
"semantic-ui-progress": "^2.2.9",
"semantic-ui-react": "^0.88.2",
"semantic-ui-transition": "^2.2.9",
"semantic-ui-visibility": "^2.2.9",
"serve-favicon": "^2.4.2",
"socket.io": "2.4.1",
"socket.io-client": "2.5.0",
"sweetalert2": "9.10.9",
"tempy": "^1.0.1",
"zod": "^4.0.0"
},
"devDependencies": {
"@biomejs/biome": "2.4.15",
"@swc/core": "^1.15.41",
"@swc/jest": "^0.2.39",
"@vitejs/plugin-react": "^6.0.2",
"body-parser": "^1.18.2",
"classnames": "^2.2.5",
"concurrently": "^9.2.1",
"cross-env": "^5.2.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-redux": "^0.2.1",
"husky": "^9.1.7",
"jest": "^24.1.0",
"jest-cli": "^24.1.0",
"moment": "^2.18.1",
"node-notifier": "^5.1.2",
"npm-run-all": "^4.1.5",
"oxlint": "^1.61.0",
"redux-test-utils": "^0.3.0",
"sass": "^1.90.0",
"vite": "^8.0.16"
},
"scripts": {
"prepare": "husky && npm-run-all --parallel build-css:dark build-css:web",
"format": "biome format . --write",
"dev": "concurrently --names \"SERVER,MONGO,VITE\" -c \"bgCyanBright.black,bgYellowBright.black,bgMagentaBright.whiteBright\" --handle-input \"pnpm run inspect\" \"pnpm run db\" \"pnpm run start\"",
"dev-no-db": "concurrently --names \"SERVER,VITE\" -c \"bgCyanBright.black,bgMagentaBright.whiteBright\" --handle-input \"pnpm run inspect\" \"pnpm run start\"",
"dev-no-db-inspect": "concurrently --names \"SERVER,VITE\" -c \"bgCyanBright.black,bgMagentaBright.whiteBright\" --handle-input \"pnpm run server\" \"pnpm run start\"",
"dev-no-server": "concurrently --names \"MONGO,VITE\" -c \"bgYellowBright.black,bgMagentaBright.whiteBright\" --handle-input \"pnpm run db\" \"pnpm run start\"",
"create-accounts": "node scripts/createAccounts.js",
"assign-local-mod": "node scripts/assignLocalMod.js",
"test": "cross-env NODE_OPTIONS=--disable-warning=DEP0176 jest",
"test:watch": "cross-env NODE_OPTIONS=--disable-warning=DEP0176 jest --watch",
"test:coverage": "cross-env NODE_OPTIONS=--disable-warning=DEP0176 jest --coverage",
"db": "mongod --dbpath data",
"db-docker": "docker run -it --rm -p 27017:27017 -v \"$(PWD)/data\":/data/db --name Secret-Hitler-Dev-MongoDB mongo:latest --port 27017",
"build": "vite build",
"inspect": "cross-env NODE_ENV=development nodemon --inspect=9137 bin/dev.js",
"server": "cross-env NODE_ENV=development nodemon bin/dev.js",
"start": "cross-env NODE_ENV=development vite build --watch --mode development",
"lint": "biome lint . && oxlint --max-warnings 0",
"lint:fix": "biome check . --write && oxlint --fix .",
"ca": "git add -A && pnpm lint:fix && concurrently --kill-others-on-fail --prefix \"[{name}]\" -n lint,test,build \"pnpm lint\" \"pnpm test\" \"pnpm build\"",
"build-css:web": "sass --silence-deprecation=import,global-builtin,color-functions,function-units,slash-div src/scss/style-web.scss public/styles/style-web.css",
"build-css:dark": "sass --silence-deprecation=import,global-builtin,color-functions,function-units,slash-div src/scss/style-dark.scss public/styles/style-dark.css"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/__test__/test-setup.js"
],
"moduleNameMapper": {
"\\.(css|scss)$": "<rootDir>/__test__/mocks/styleMock.js"
},
"transform": {
"^.+\\.[jt]sx?$": [
"@swc/jest",
{
"jsc": {
"parser": {
"syntax": "ecmascript",
"jsx": true
},
"transform": {
"react": {
"runtime": "classic"
}
},
"target": "es2022"
}
}
]
}
},
"pnpm": {
"overrides": {
"event-stream": "^4.0.1",
"tunnel-agent": "^0.6.0",
"braces": "^2.3.1",
"cheerio": "1.0.0-rc.12"
},
"onlyBuiltDependencies": [
"pngcrush-bin"
]
}
}