forked from cozuya/secret-hitler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
177 lines (177 loc) · 6.08 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
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
177
{
"name": "secret-hitler",
"description": "A web adaptation of the social deduction board game Secret Hitler.",
"version": "1.8.2",
"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 <[email protected]> (http://twolongos.com)",
"homepage": "https://secrethitler.io",
"bugs": "https://github.com/cozuya/secret-hitler/issues",
"engines": {
"node": "^16.13.0"
},
"dependencies": {
"@popperjs/core": "^2.4.4",
"compression": "^1.6.2",
"connect-mongodb-session": "^2.0.5",
"connect-redis": "^3.4.0",
"debug": "^3.1.0",
"dotenv": "^5.0.1",
"express": "^4.15.2",
"express-session": "^1.15.6",
"express-socket.io-session": "^1.3.5",
"gfycat-style-urls": "git://github.com/cozuya/gfycat-style-urls.git",
"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-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-switch": "^4.1.0",
"redis": "^2.8.0",
"redux": "^3.7.2",
"redux-devtools": "^3.4.0",
"redux-saga": "^0.16.0",
"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",
"snyk": "^1.189.0",
"socket.io": "2.0.3",
"socket.io-client": "2.0.3",
"sweetalert2": "9.10.9",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.10.4",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^25.5.1",
"babel-loader": "^8.0.5",
"babel-plugin-named-asset-import": "^0.3.0",
"babel-polyfill": "^6.26.0",
"babel-preset-react-app": "^7.0.0",
"body-parser": "^1.18.2",
"classnames": "^2.2.5",
"clean-webpack-plugin": "^0.1.19",
"concurrently": "^4.1.0",
"cross-env": "^5.2.0",
"crypto": "^1.0.1",
"css-loader": "^0.28.11",
"dotenv-webpack": "^1.7.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-redux": "^0.2.1",
"eslint": "^6.7.2",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.17.0",
"eslint-watch": "^6.0.1",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^1.1.11",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.1.0",
"husky": "^3.1.0",
"jest": "^24.1.0",
"jest-cli": "^24.1.0",
"moment": "^2.18.1",
"node-notifier": "^5.1.2",
"node-sass": "^6.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"pretty-quick": "^2.0.1",
"redux-test-utils": "^0.3.0",
"require-dot-file": "^0.4.0",
"sass-loader": "^6.0.7",
"style-loader": "^0.20.3",
"uglifyjs-webpack-plugin": "^1.3.0",
"webpack": "^4.9.1",
"webpack-cli": "^3.1.1",
"webpack-livereload-plugin": "^2.1.1"
},
"scripts": {
"prepare": "npm-run-all --parallel build-css:dark build-css:web",
"prettier-check": "prettier \"**/*.{js,scss,json,jsx}\" --check",
"format": "prettier \"**/*.{js,scss,json,jsx}\" --write",
"dev": "concurrently --names \"SERVER,MONGO,WEBPACK\" -c \"bgCyanBright.black,bgYellowBright.black,bgMagentaBright.whiteBright\" --handle-input \"yarn:inspect\" \"yarn:db\" \"yarn:start\"",
"dev-no-db": "concurrently --names \"SERVER,WEBPACK\" -c \"bgCyanBright.black,bgMagentaBright.whiteBright\" --handle-input \"yarn:inspect\" \"yarn:start\"",
"dev-no-db-inspect": "concurrently --names \"SERVER,WEBPACK\" -c \"bgCyanBright.black,bgMagentaBright.whiteBright\" --handle-input \"yarn:server\" \"yarn:start\"",
"dev-no-server": "concurrently --names \"MONGO,WEBPACK\" -c \"bgYellowBright.black,bgMagentaBright.whiteBright\" --handle-input \"yarn:db\" \"yarn:start\"",
"create-accounts": "node scripts/createAccounts.js",
"assign-local-mod": "node scripts/assignLocalMod.js",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "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": "webpack --config webpack/webpack.config.prod --mode production",
"inspect": "cross-env NODE_ENV=development nodemon --inspect=9137 bin/dev.js",
"server": "cross-env NODE_ENV=development nodemon bin/dev.js",
"start": "webpack --watch --config webpack/webpack.config.dev --mode development",
"lint": "esw src/**/*.jsx scripts/ routes/ webpack/ models/ iso/",
"build-css:web": "node-sass --include-path src/scss src/scss/style-web.scss public/styles/style-web.css",
"build-css:dark": "node-sass --include-path src/scss 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"
}
},
"resolutions": {
"**/event-stream": "^4.0.1",
"tunnel-agent": "^0.6.0",
"braces": "^2.3.1"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint && pretty-quick --staged"
}
}
}