Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (62 loc) · 1.95 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (62 loc) · 1.95 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
{
"name": "grant",
"version": "3.5.5",
"description": "OAuth Middleware for Express, Koa and Hapi",
"keywords": [
"oauth",
"oauth2",
"authentication",
"middleware",
"express",
"koa",
"hapi"
],
"license": "MIT",
"homepage": "https://github.com/simov/grant",
"author": "Simeon Velichkov <simeonvelichkov@gmail.com> (http://simov.github.io)",
"repository": {
"type": "git",
"url": "https://github.com/simov/grant.git"
},
"dependencies": {
"request" : "2.64.0",
"qs" : "5.1.0",
"deep-copy" : "1.1.0"
},
"devDependencies": {
"mocha" : "2.x.x",
"should" : "7.x.x",
"istanbul" : "0.x.x",
"coveralls" : "2.x.x",
"eslint" : "1.x.x",
"express" : "4.x.x",
"express-session" : "1.x.x",
"body-parser" : "1.x.x",
"koa" : "next",
"koa-router" : "next",
"koa-convert" : "1.2.x",
"thunkify" : "2.x.x",
"koa-session" : "3.x.x",
"koa-bodyparser" : "2.x.x",
"koa-mount" : "1.x.x",
"koa-qs" : "2.x.x",
"hapi" : "9.3.1",
"yar" : "4.x.x"
},
"main": "index.js",
"files": [
"config/",
"lib/",
"CHANGELOG.md",
"LICENSE",
"README.md",
"index.js"
],
"scripts": {
"test" : "npm run lint-lib && npm run lint-test && npm run test-ci",
"test-ci" : "major=$(node --version | cut -b 2-2) && minor=$(node --version | cut -b 4-5) && if [ $major -eq 0 ] && [ $minor -ge 12 ]; then mocha --harmony --recursive test/; elif [ $major -ge 1 ]; then mocha --recursive test/; else mocha test/ test/flow/ test/consumer/express/ test/consumer/hapi/; fi",
"test-cov" : "istanbul cover _mocha test/ test/flow/ test/consumer/express/ test/consumer/hapi/",
"lint-lib" : "eslint lib/ && echo Lint lib passed",
"lint-test" : "eslint test/ && echo Lint test passed"
}
}