-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
65 lines (65 loc) · 1.83 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
{
"name": "magiclink-backend",
"version": "1.0.0",
"private": true,
"description": "Magic Link backend with Nodejs GraphQL (ES6)",
"author": "Salman Dabbakuti",
"license": "ISC",
"dependencies": {
"aws-sdk": "2.884.0",
"dotenv": "8.2.0",
"esm": "3.2.25",
"graphql-yoga": "^1.18.3",
"jsonwebtoken": "^8.3.0",
"mongoose": "^5.12.13",
"nodemailer": "6.5.0"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"linter": "eslint .",
"start": "node -r esm app.js",
"dev": "nodemon --ignore client/ -r esm app.js --ext js,graphql"
},
"devDependencies": {
"eslint": "^7.24.0",
"eslint-plugin-import": "2.22.1",
"eslint-config-airbnb-base": "^14.2.1",
"babel-eslint": "^10.1.0",
"nodemon": "^2.0.7"
},
"eslintConfig": {
"extends": "airbnb-base",
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"linebreak-style": "off",
"no-unused-vars": "warn",
"no-console": "off",
"no-await-in-loop": "warn",
"no-restricted-syntax": "off",
"import/prefer-default-export": "warn",
"new-cap": "warn",
"max-len": "off",
"object-curly-newline": "off",
"no-return-await": "error",
"no-param-reassign": "warn",
"semi": "warn",
"no-use-before-define": "error",
"indent": [
2
],
"comma-dangle": [
"warn",
"never"
]
},
"env": {
"node": true,
"browser": true,
"es6": true
}
}
}