-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 2.54 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
{
"name": "messenger-user-profile",
"description": "Get the bot user’s Messenger Profile",
"version": "0.0.1",
"author":
"Andreas Pizsa <[email protected]> (https://github.com/AndreasPizsa)",
"bugs": {
"url": "https://github.com/andreaspizsa/messenger-user-profile/issues",
"email": "[email protected]"
},
"contributors": [
"Andreas Pizsa <[email protected]> (https://github.com/AndreasPizsa)"
],
"dependencies": {
"got": "^7.1.0",
"lodash.get": "^4.4.2",
"lodash.set": "^4.3.2"
},
"ava": {
"failFast": true,
"verbose": true
},
"devDependencies": {
"ava": "^0.22.0",
"codecov": "^2.3.0",
"cross-env": "^5.0.5",
"eslint": "^4.5.0",
"eslint-config-prettier": "^2.3.0",
"eslint-plugin-prettier": "^2.2.0",
"husky": "^0.14.3",
"lint-staged": "^4.0.4",
"nyc": "^11.1.0",
"prettier": "^1.6.1",
"remark-cli": "^4.0.0",
"remark-preset-github": "^0.0.6",
"xo": "^0.19.0"
},
"engines": {
"node": ">=8.3"
},
"homepage": "https://github.com/andreaspizsa/messenger-user-profile",
"keywords": ["messenger", "bot", "profile", "plugin"],
"license": "MIT",
"lint-staged": {
"*.{js,jsx,mjs,ts,tsx,css,less,scss,json,graphql}": [
"prettier --write --single-quote --trailing-comma none --no-semi",
"git add"
],
"*.md": ["remark . -qfo", "git add"]
},
"main": "index.js",
"nyc": {
"check-coverage": true,
"lines": 100,
"functions": 100,
"branches": 100,
"reporter": ["lcov", "html", "text"]
},
"remarkConfig": {
"plugins": ["preset-github"]
},
"repository": {
"type": "git",
"url": "https://github.com/andreaspizsa/messenger-user-profile"
},
"scripts": {
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint": "xo && remark . -qfo",
"precommit": "lint-staged && npm test",
"test": "npm run lint && npm run test-coverage",
"test-coverage": "cross-env NODE_ENV=test nyc ava"
},
"xo": {
"extends": "prettier",
"plugins": ["prettier"],
"parserOptions": {
"sourceType": "script"
},
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"bracketSpacing": true,
"trailingComma": "none",
"semi": false
}
],
"max-len": [
"error",
{
"code": 80,
"ignoreUrls": true
}
],
"capitalized-comments": "off",
"camelcase": "off",
"no-warning-comments": "off"
},
"space": true
}
}