-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 1.33 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
{
"name": "cnc-db",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"axios": "^0.21.1",
"dotenv": "^8.2.0",
"elo-rating": "^1.0.1",
"eslint-config-xo-react": "^0.24.0",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"express": "^4.17.1",
"nodemon": "^2.0.7",
"pg": "^8.5.1",
"prettier": "^2.2.1",
"utf8": "^3.0.0",
"xo": "^0.38.2"
},
"scripts": {
"start": "node cronjob.js",
"cron": "node cronjob.js",
"pretty": "yarn prettier --write .",
"lint": "yarn xo --prettier"
},
"prettier": {
"bracketSpacing": true,
"singleQuote": true,
"trailingComma": "none"
},
"xo": {
"env": [
"browser",
"node",
"jest"
],
"extends": [
"xo-react"
],
"plugins": [
"unicorn"
],
"space": 2,
"prettier": true,
"rules": {
"capitalized-comments": 0,
"camelcase": 0,
"promise/prefer-await-to-then": "off",
"unicorn/catch-error-name": 0,
"unicorn/prevent-abbreviations": 0,
"unicorn/filename-case": [
"warn",
{
"cases": {
"camelCase": true,
"pascalCase": true
}
}
],
"unicorn/regex-shorthand": "off"
}
},
"engines": {
"node": "14.x"
}
}