-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 1.52 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
{
"name": "trek-csrf",
"version": "0.1.0",
"description": "CSRF Tokens Middleware for Trek.js",
"repository": "trekjs/csrf",
"author": {
"name": "Fangdun Cai",
"email": "[email protected]",
"url": "fundon.me"
},
"license": "MIT",
"keywords": [
"csrf",
"tokens",
"middleware",
"trek"
],
"main": "index.js",
"engines": {
"node": ">=7"
},
"scripts": {
"lint": "xo",
"test": "xo && nyc ava"
},
"dependencies": {
"csrf": "^3.0.6"
},
"devDependencies": {
"ava": "0.19",
"nyc": "10",
"request": "2",
"request-promise": "4",
"trek-body-parser": "0",
"trek-engine": "1",
"trek-sessions": "0",
"xo": "0.18"
},
"ava": {
"concurrency": 5
},
"nyc": {
"reporter": [
"html",
"lcov",
"text"
]
},
"xo": {
"esnext": true,
"envs": [
"node",
"es6"
],
"semicolon": false,
"space": true,
"ignores": [],
"rules": {
"curly": 0,
"import/no-dynamic-require": 0,
"import/no-named-as-default": 0,
"max-lines": 0,
"no-warning-comments": [
"error",
{
"terms": [
"todo",
"fixme"
],
"location": "anywhere"
}
],
"object-curly-spacing": [
"error",
"always",
{
"arraysInObjects": true,
"objectsInObjects": true
}
],
"space-before-function-paren": [
2,
"always"
],
"yoda": 0
}
}
}