-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathpackage.json
85 lines (85 loc) · 2.15 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
{
"name": "npms-api",
"version": "2.2.0",
"description": "npms.io API",
"main": "index.js",
"scripts": {
"start": "node server.js",
"start-dev": "nodemon --watch server.js --watch index.js --watch lib --watch config --ext js,json5 server.js --log-level debug",
"lint": "eslint . --ignore-path .gitignore",
"docs": "scripts/generate-doc",
"docs-push": "scripts/generate-doc --push",
"test": "mocha",
"test-cov": "istanbul cover --dir test/coverage _mocha && echo Coverage lies in test/coverage/lcov-report/index.html",
"test-travis": "istanbul cover _mocha --report lcovonly"
},
"bugs": "https://github.com/npms-io/npms-api/issues/",
"repository": {
"type": "git",
"url": "git://github.com/npms-io/npms-api.git"
},
"keywords": [
"npm",
"npms",
"npmsearch",
"npmsearch",
"search",
"node",
"module",
"package"
],
"author": "André Duarte <[email protected]> (http://andreduarte.io)",
"license": "MIT",
"bin": {
"npms-api": "./server.js"
},
"dependencies": {
"@npms/queries": "^3.0.0",
"bluebird": "^3.5.2",
"config": "^2.0.1",
"elasticsearch": "^15.2.0",
"joi": "^14.0.2",
"koa": "^1.2.0",
"koa-bodyparser": "^2.2.0",
"koa-ga-pageview": "^1.0.0",
"koa-pino-logger": "^1.0.2",
"koa-response-time": "^1.0.2",
"koa-router": "^5.4.0",
"lodash": "^4.17.11",
"nano": "^7.1.0",
"pino": "^5.8.0",
"require-directory": "^2.1.1",
"validate-npm-package-name": "^3.0.0",
"yargs": "^12.0.2"
},
"devDependencies": {
"@commitlint/cli": "^7.1.2",
"@commitlint/config-conventional": "^7.1.2",
"apidoc": "^0.17.1",
"coveralls": "^3.0.2",
"eslint": "^5.8.0",
"eslint-config-moxy": "^6.1.1",
"husky": "^1.1.2",
"istanbul": "^0.4.2",
"lint-staged": "^8.0.4",
"mocha": "^5.2.0",
"nodemon": "^1.18.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}