-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
121 lines (121 loc) · 3.07 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
119
120
121
{
"name": "gh-polls-bot",
"version": "1.0.3",
"description": "Automatically create polls in GitHub issues.",
"author": "Michael Hsu (徐承志) <[email protected]>",
"license": "MIT",
"repository": "https://github.com/evenchange4/gh-polls-bot.git",
"scripts": {
"start": "probot run ./src/index.js --port 3000",
"now-start": "PRIVATE_KEY=$(echo $PRIVATE_KEY_BASE64 | base64 -d) npm start",
"dev": "nodemon --exec 'npm start'",
"test": "NODE_ENV='test' TZ='UTC' jest --coverage --runInBand --forceExit",
"test:watch": "npm run test -- --watch",
"eslint": "eslint ./",
"format": "prettier --write 'src/**/*.{js,json}'",
"flow": "flow",
"flow-coverage": "flow-coverage-report",
"changelog": "github-changes -o evenchange4 -r gh-polls-bot -b master -f ./CHANGELOG.md --order-semver --use-commit-body"
},
"now": {
"type": "npm",
"env": {
"NODE_ENV": "production"
}
},
"dependencies": {
"argv-split": "^2.0.1",
"probot": "^3.0.2",
"ramda": "^0.25.0",
"request": "^2.83.0",
"request-promise": "^4.2.2"
},
"devDependencies": {
"await-url": "^0.3.0",
"babel-eslint": "^8.0.1",
"codecov": "^3.0.0",
"eslint": "^4.10.0",
"eslint-config-airbnb": "^15.1.0",
"eslint-config-prettier": "^2.7.0",
"eslint-config-react-app": "^2.0.1",
"eslint-plugin-flowtype": "^2.39.1",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^21.2.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-react": "^7.4.0",
"flow-bin": "^0.58.0",
"flow-coverage-report": "^0.4.0",
"github-changes": "^1.1.0",
"jest": "^21.2.1",
"localtunnel": "^1.8.3",
"nodemon": "^1.12.1",
"now": "^8.3.11",
"prettier": "^1.7.4"
},
"engines": {
"node": ">=9.0.0"
},
"jest": {
"testEnvironment": "node",
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/*.test.{js,jsx}",
"!src/**/*.flow.js"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/coverage/",
"<rootDir>/flow-typed/",
"<rootDir>/flow-coverage/"
]
},
"flow-coverage-report": {
"excludeGlob": [
"node_modules/**",
"src/**/*.flow.js"
],
"includeGlob": [
"src/**/*.js"
],
"threshold": 90,
"type": "text"
},
"prettier": {
"trailingComma": "all",
"singleQuote": true
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": [
"react-app",
"airbnb",
"prettier",
"prettier/flowtype",
"prettier/react",
"plugin:jest/recommended"
],
"plugins": [
"prettier",
"jest"
],
"env": {
"jest/globals": true
},
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js"
]
}
],
"import/no-extraneous-dependencies": 0,
"jsx-a11y/no-static-element-interactions": 0,
"react/forbid-prop-types": 0,
"react/require-default-props": 0,
"prettier/prettier": "error"
}
}
}