-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
118 lines (118 loc) · 2.82 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
{
"name": "bottender-facebook",
"description": "Facebook connector for Bottender.",
"version": "0.7.6",
"main": "lib/index.js",
"files": [
"lib"
],
"scripts": {
"build": "npm run clean && babel src -d lib --ignore **/__tests__,**/__mocks__ --copy-files",
"check": "flow check",
"clean": "rimraf lib",
"lint": "eslint src examples",
"lint:fix": "npm run lint -- --fix",
"lint:staged": "lint-staged",
"prepublish": "npm run build",
"test": "npm run lint:fix && npm run testonly && npm run check",
"testonly": "jest",
"testonly:cov": "jest --coverage --runInBand --forceExit",
"testonly:watch": "jest --watch",
"preversion": "npm test"
},
"dependencies": {
"axios-error": "^0.8.1",
"warning": "^4.0.3"
},
"peerDependencies": {
"bottender": ">= 0.15.15",
"messaging-api-messenger": ">= 0.7.15"
},
"devDependencies": {
"@babel/cli": "^7.6.4",
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/preset-env": "^7.6.3",
"@babel/preset-flow": "^7.0.0",
"axios-mock-adapter": "^1.17.0",
"babel-core": "^7.0.0-0",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"bottender": "^0.15.17",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.4.0",
"eslint-config-yoctol-base": "^0.21.2",
"eslint-plugin-flowtype": "^4.3.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-sort-imports-es6-autofix": "^0.5.0",
"flow-bin": "^0.109.0",
"husky": "^3.0.9",
"jest": "^24.9.0",
"jest-junit": "^8.0.0",
"lint-staged": "^9.4.2",
"messaging-api-messenger": "^0.8.2",
"prettier": "^1.18.2",
"prettier-package-json": "^2.1.0",
"rimraf": "^3.0.0"
},
"keywords": [
"bottender",
"connector",
"facebook",
"fb"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/__tests__/"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/examples/",
"/lib/"
],
"reporters": [
"default",
"jest-junit"
],
"transformIgnorePatterns": [
"/node_modules/"
],
"testEnvironment": "node",
"resetModules": true,
"resetMocks": true
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.{json,md}": [
"prettier --write",
"git add"
],
"package.json": [
"prettier-package-json --write",
"prettier --write",
"git add"
],
".babelrc": [
"prettier --parser json --write",
"git add"
]
},
"prettier": {
"trailingComma": "es5",
"singleQuote": true
}
}