-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.33 KB
/
package.json
File metadata and controls
99 lines (99 loc) · 2.33 KB
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
{
"name": "bottender-compose",
"description": "An utility library for bottender and higher-order handlers",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Yoctol/bottender-compose.git"
},
"version": "1.0.0-beta.0",
"main": "lib/index",
"files": [
"lib"
],
"scripts": {
"build": "npm run clean && babel src -d lib --ignore __tests__",
"clean": "rimraf lib",
"lint": "eslint src",
"lint:fix": "yarn run lint --fix",
"lint:staged": "lint-staged",
"prepublish": "npm run build",
"test": "yarn run lint && yarn run testonly",
"testonly": "jest",
"testonly:cov": "jest --coverage",
"testonly:watch": "jest --watch",
"preversion": "npm test"
},
"dependencies": {
"delay": "^4.3.0",
"invariant": "^2.2.4",
"lodash": "^4.17.15",
"pascal-case": "^3.1.1",
"random-item": "^3.0.0",
"warning": "^4.0.3"
},
"peerDependencies": {
"bottender": ">= 1"
},
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/plugin-proposal-class-properties": "^7.10.1",
"@babel/plugin-proposal-object-rest-spread": "^7.10.1",
"@babel/preset-env": "^7.10.2",
"babel-core": "^7.0.0-0",
"babel-jest": "^26.0.1",
"bottender": "^1.4.6",
"eslint": "^6.3.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-yoctol-base": "^0.23.0",
"eslint-plugin-import": "^2.21.1",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-sort-imports-es6-autofix": "^0.5.0",
"husky": "^4.2.5",
"jest": "^26.0.1",
"lint-staged": "^10.2.9",
"prettier": "^2.0.5",
"prettier-package-json": "^2.1.3",
"rimraf": "^3.0.2"
},
"keywords": [
"bot",
"bottender",
"compose"
],
"engines": {
"node": ">=7.6"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"coverageDirectory": "./coverage/",
"transformIgnorePatterns": [
"/node_modules/",
"lib"
],
"testPathIgnorePatterns": [
"/node_modules/",
"lib"
],
"setupFiles": [
"./test/setupTest.js"
],
"testEnvironment": "node",
"timers": "fake",
"resetModules": true,
"resetMocks": true
},
"lint-staged": {
"*.js": [
"eslint --fix"
],
"package.json": [
"prettier-package-json --write"
]
}
}