-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
84 lines (84 loc) · 1.61 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
{
"name": "book-api",
"version": "4.0.3",
"description": "An API to retrieve information about books from several different sources.",
"main": "lib/index.js",
"bin": {
"book-api": "./src/cli.js"
},
"scripts": {
"dev": "DEBUG=book-api:* node src/cli.js",
"start": "NODE_ENV=production node src/cli.js",
"lint": "xo",
"test": "ava",
"coverage": "nyc ava -t",
"check-duplicate-code": "jsinspect -t 20 src"
},
"keywords": [
"book",
"api"
],
"repository": {
"type": "git",
"url": "git://github.com/studentboken/book-api.git"
},
"author": "Alex Gustafsson",
"license": "MIT",
"devDependencies": {
"ava": "^3.4.0",
"jsinspect": "^0.12.7",
"nyc": "^15.0.0",
"xo": "^0.27.1"
},
"dependencies": {
"axios": "^0.19.2",
"cheerio": "^1.0.0-rc.3",
"debug": "^4.1.1",
"yargs": "^15.1.0"
},
"xo": {
"space": 2,
"esnext": true,
"rules": {
"curly": [
"error",
"multi-or-nest",
"consistent"
],
"no-use-before-define": [
"error",
{
"classes": false
}
],
"unicorn/catch-error-name": [
"error",
{
"name": "error"
}
],
"dot-notation": [
"off"
],
"quote-props": [
"off"
],
"object-curly-spacing": [
"error",
"never"
],
"padding-line-between-statements": [
"off"
]
}
},
"ava": {
"files": [
"test/*.js"
],
"concurrency": 5,
"failFast": false,
"verbose": true,
"compileEnhancements": false
}
}