-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
87 lines (87 loc) · 1.93 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
{
"name": "bottender-handovers",
"description": "An experimental package for Messenger Handover Protocol with Bottender.",
"license": "MIT",
"version": "0.3.0",
"main": "src/index.js",
"scripts": {
"precommit": "lint-staged",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"lint:staged": "lint-staged",
"test": "npm run lint && npm run testonly",
"testonly": "jest",
"testonly:cov": "jest --coverage --runInBand --forceExit",
"testonly:watch": "jest --runInBand --watch",
"preversion": "npm run test"
},
"dependencies": {
"warning": "^4.0.1"
},
"devDependencies": {
"eslint": "^4.19.1",
"eslint-config-yoctol-base": "^0.17.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-sort-imports-es6-autofix": "^0.3.0",
"husky": "^0.14.3",
"jest": "^23.4.1",
"jest-junit": "^5.1.0",
"lint-staged": "^7.2.0",
"prettier": "^1.13.7",
"prettier-package-json": "^1.6.0"
},
"keywords": [
"bottender",
"handovers",
"messenger"
],
"jest": {
"collectCoverageFrom": [
"src/**/*.js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/__tests__/",
"/lib/"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/examples/",
"/lib/"
],
"transformIgnorePatterns": [
"/node_modules/"
],
"testEnvironment": "node",
"reporters": [
"default",
"jest-junit"
],
"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
}
}