forked from hanshuebner/html-scrabble
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
152 lines (152 loc) · 3.89 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
{
"name": "@cdot/xanado",
"description": "Multi user crossword game",
"version": "3.2.0",
"license": "MIT",
"type": "module",
"author": {
"name": "Crawford Currie",
"url": "https://github.com/cdot"
},
"repository": {
"type": "git",
"url": "git://github.com/cdot/Xanado"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"files": [
"README.md",
"audio/*.mp3",
"bin/*.js",
"css/*.css",
"css/index.json",
"dictionaries/*.dict",
"dictionaries/index.json",
"dist/*.html",
"dist/**/*",
"editions/*.json",
"games/README",
"html/*.html",
"i18n/*.json",
"images/*",
"src/*/*.js",
"package.json",
"package-lock.json"
],
"dependencies": {
"@cdot/cbor": "^1.0.5",
"@cdot/dictionary": "^1.0.2",
"@rwap/jquery-ui-touch-punch": "^1.0.11",
"async-lock": "^1.4.0",
"banana-i18n": "^2.3.3",
"bcrypt": "^5.1.0",
"es-module-shims": "^1.6.3",
"express": "^4.18.2",
"express-session": "^1.17.3",
"jquery": "^3.6.3",
"jquery-ui": "^1.13.2",
"jquery.cookie": "^1.4.1",
"nodemailer": "^6.9.9",
"normalize.css": "^8.0.1",
"passport": "^0.6.0",
"passport-facebook": "^3.0.0",
"passport-google-oauth20": "^2.0.0",
"posix-getopt": "^1.2.1",
"proper-lockfile": "^4.1.2",
"session-file-store": "^1.5.0",
"socket.io": "^4.5.4",
"web-worker": "^1.2.0"
},
"devDependencies": {
"@fast-csv/format": "^4.3.5",
"c8": "^7.12.0",
"chai": "^4.3.7",
"chai-http": "^4.3.0",
"css": "^3.0.0",
"docdash": "^2.0.1",
"eslint": "^8.33.0",
"eslint-plugin-import": "^2.27.5",
"html-loader": "^4.2.0",
"jsdoc": "^4.0.0",
"jsdom": "^21.1.0",
"marked": "^4.2.12",
"mocha": "^10.2.0",
"node-localstorage": "^2.2.1",
"tmp-promise": "^3.0.3",
"uglify-js": "^3.17.4",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
},
"scripts": {
"build": "webpack --node-env production -c build/wp_sa_games.js && webpack --node-env production -c build/wp_sa_game.js && webpack --node-env production -c build/wp_cl_games.js && webpack --node-env production -c build/wp_cl_game.js",
"coverage": "NODE_ENV=test c8 --reporter=html --reporter text npm run test",
"debug_build": "node bin/update-indexes.js & webpack -c build/wp_sa_games.js & webpack -c build/wp_sa_game.js & webpack -c build/wp_cl_games.js & webpack -c build/wp_cl_game.js",
"debug_server": "node bin/server.js --config config.json --html html --debug all",
"doc": "jsdoc -c build/jsdoc_config.json src",
"docker": "npm run build && docker build . --tag xanado --file build/Dockerfile",
"indexing": "node bin/update-indexes.js",
"lint": "eslint src -f unix",
"server": "node bin/server.js",
"start": "node bin/server.js",
"test": "mocha --recursive --extension js --timeout=5000 test",
"tx": "node bin/checkStrings.js"
},
"bin": {
"xanado": "./bin/server.js"
},
"eslintConfig": {
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2022
},
"env": {
"shared-node-browser": true,
"jquery": true,
"es2021": true
},
"plugins": [
"import"
],
"rules": {
"camelcase": 0,
"curly": 0,
"dot-notation": 1,
"import/no-unresolved": "error",
"import/named": "error",
"import/namespace": "error",
"import/default": "error",
"import/export": "error",
"import/no-named-as-default": "warn",
"import/no-named-as-default-member": "warn",
"import/no-duplicates": "warn",
"import/first": 0,
"new-cap": 0,
"no-alert": 0,
"no-console": 0,
"no-debugger": 0,
"no-eval": 0,
"no-fallthrough": 0,
"no-global-assign": 0,
"no-loop-func": 1,
"no-mixed-spaces-and-tabs": 0,
"no-new": 0,
"no-prototype-builtins": 0,
"no-redeclare": [
"error",
{
"builtinGlobals": false
}
],
"no-trailing-spaces": 1,
"no-underscore-dangle": 0,
"no-unused-vars": 1,
"no-useless-escape": 1,
"no-use-before-define": 0,
"quotes": 0,
"strict": 0
}
}
}