-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
144 lines (144 loc) · 4.04 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
{
"name": "parse-request",
"description": "Parse requests in the Browser and Node (with added support for multer and passport). Made for Cabin.",
"version": "6.0.3",
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
"ava": {
"files": [
"test/*.js",
"test/**/*.js",
"!test/helpers/*.js",
"!test/helpers/**/*.js",
"!test/fixtures/*.js",
"!test/fixtures/**/*.js"
]
},
"bugs": {
"url": "https://github.com/cabinjs/parse-request/issues",
"email": "niftylettuce@gmail.com"
},
"contributors": [
"Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)"
],
"dependencies": {
"browser-hrtime": "^1.1.8",
"bson-objectid": "^2.0.4",
"convert-hrtime": "3.0.0",
"cookie": "^0.5.0",
"credit-card-type": "^9.1.0",
"debug": "^4.3.4",
"fast-safe-stringify": "^2.1.1",
"http-headers": "^3.0.2",
"is-array-buffer": "^3.0.2",
"is-buffer": "^2.0.5",
"is-stream": "2.0.1",
"is-uuid": "^1.0.2",
"ms": "^2.1.3",
"no-case": "2.3.2",
"qs": "^6.11.2",
"rfdc": "^1.3.0",
"sensitive-fields": "^1.0.1",
"url-parse": "^1.5.10"
},
"devDependencies": {
"@babel/cli": "^7.22.15",
"@babel/core": "^7.22.17",
"@babel/preset-env": "^7.22.15",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@koa/multer": "^3.0.2",
"@koa/router": "^12.0.0",
"@ladjs/multer": "2.0.0-rc.5",
"ava": "5.3.1",
"axe": "^12.2.2",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"cabin": "^13.2.4",
"cross-env": "^7.0.3",
"eslint": "^8.49.0",
"eslint-config-xo-lass": "^2.0.1",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-node": "^11.1.0",
"express": "^4.18.2",
"express-request-id": "1.4.1",
"fixpack": "^4.0.0",
"get-port": "5.1.1",
"husky": "^8.0.3",
"jsdom": "15.2.1",
"koa": "^2.14.2",
"koa-connect": "^2.1.0",
"lint-staged": "^14.0.1",
"multer": "1.4.5-lts.1",
"nyc": "^15.1.0",
"remark-cli": "^11.0.0",
"remark-preset-github": "^4.0.4",
"request-received": "^0.0.3",
"response-time": "^2.3.2",
"rimraf": "^5.0.1",
"signale": "^1.4.0",
"supertest": "^6.3.3",
"tinyify": "3.0.0",
"xo": "^0.56.0"
},
"engines": {
"node": ">=14"
},
"files": [
"lib",
"dist"
],
"homepage": "https://github.com/cabinjs/parse-request",
"jsdelivr": "dist/parse-request.min.js",
"keywords": [
"array",
"array-buffer",
"arraybuffer",
"auth",
"authentication",
"browser",
"buffer",
"connect",
"consistent",
"express",
"headers",
"koa",
"lad",
"lass",
"logger",
"logging",
"multer",
"node",
"normalized",
"object",
"parse",
"passport",
"req",
"request",
"stream",
"user"
],
"license": "MIT",
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/cabinjs/parse-request"
},
"scripts": {
"ava": "cross-env NODE_ENV=test ava",
"browserify": "browserify src/index.js -o dist/parse-request.js -s parseRequest -g [ babelify --configFile ./.dist.babelrc.json ]",
"build": "npm run build:clean && npm run build:lib && npm run build:dist",
"build:clean": "rimraf lib dist",
"build:dist": "npm run browserify && npm run minify",
"build:lib": "babel --config-file ./.lib.babelrc.json src --out-dir lib",
"lint": "xo --fix && remark . -qfo && fixpack",
"lint-build": "npm run lint-lib && npm run lint-dist",
"lint-dist": "eslint --no-inline-config -c .dist.eslintrc.json dist",
"lint-lib": "eslint --no-inline-config -c .lib.eslintrc.json lib",
"minify": "cross-env NODE_ENV=production browserify src/index.js -o dist/parse-request.min.js -s parseRequest -g [ babelify --configFile ./.dist.babelrc.json ] -p tinyify",
"nyc": "cross-env NODE_ENV=test nyc ava",
"prepare": "husky install",
"pretest": "npm run lint",
"test": "npm run build && npm run lint-build && npm run nyc"
},
"unpkg": "dist/parse-request.min.js"
}