-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 2.87 KB
/
package.json
File metadata and controls
135 lines (135 loc) · 2.87 KB
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
{
"name": "express-redirect-loop",
"description": "Prevent redirect loops with sessions since HTTP referrer header is unreliable",
"version": "1.0.0",
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
"ava": {
"failFast": true,
"verbose": true,
"serial": true
},
"bugs": {
"url": "https://github.com/niftylettuce/express-redirect-loop/issues",
"email": "niftylettuce@gmail.com"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"contributors": [
"Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)"
],
"dependencies": {
"depd": "^2.0.0",
"url-parse": "^1.4.7"
},
"devDependencies": {
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^9.1.2",
"ava": "^3.11.1",
"cabin": "^8.0.7",
"codecov": "^3.7.2",
"cross-env": "^7.0.2",
"eslint": "^7.7.0",
"eslint-config-xo-lass": "^1.0.3",
"express": "^4.17.1",
"express-session": "^1.17.1",
"fetch-cookie": "^0.10.1",
"fixpack": "^3.0.6",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"node-fetch": "^2.6.0",
"nyc": "^15.1.0",
"remark-cli": "^8.0.1",
"remark-preset-github": "^3.0.0",
"rimraf": "^3.0.2",
"xo": "^0.33.0"
},
"engines": {
"node": ">=8.3.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/niftylettuce/express-redirect-loop",
"husky": {
"hooks": {
"pre-commit": "npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"keywords": [
"back",
"bug",
"connect",
"endless",
"express",
"fix",
"fix",
"header",
"hotfix",
"http",
"loop",
"middleware",
"patch",
"prevent",
"prevention",
"recursive",
"redirect",
"redirection",
"referer",
"referrer",
"route"
],
"license": "MIT",
"lint-staged": {
"linters": {
"*.js": [
"xo --fix",
"git add"
],
"*.md": [
"remark . -qfo",
"git add"
],
"package.json": [
"fixpack",
"git add"
]
}
},
"main": "index.js",
"prettier": {
"singleQuote": true,
"bracketSpacing": true,
"trailingComma": "none"
},
"remarkConfig": {
"plugins": [
"preset-github"
]
},
"repository": {
"type": "git",
"url": "https://github.com/niftylettuce/express-redirect-loop"
},
"scripts": {
"ava": "cross-env NODE_ENV=test ava",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint": "xo && remark . -qfo",
"nyc": "cross-env NODE_ENV=test nyc ava",
"test": "npm run lint && npm run ava",
"test-coverage": "npm run lint && npm run nyc"
},
"xo": {
"prettier": true,
"space": true,
"extends": [
"xo-lass"
],
"rules": {
"unicorn/prevent-abbreviations": "warn"
}
}
}