1 | {
|
2 | "name": "gh",
|
3 | "description": "Boost your productivity & automate tasks when working with GitHub, all from the comfort of your CLI.",
|
4 | "version": "2.8.9",
|
5 | "homepage": "http://nodegh.io",
|
6 | "preferGlobal": true,
|
7 | "contributors": [
|
8 | ".all-contributorsrc"
|
9 | ],
|
10 | "author": {
|
11 | "name": "Eduardo Lundgren",
|
12 | "email": "eduardolundgren@gmail.com",
|
13 | "web": "http://eduardo.io",
|
14 | "twitter": "eduardolundgren"
|
15 | },
|
16 | "maintainers": [
|
17 | {
|
18 | "name": "Ryan Garant",
|
19 | "email": "ryantgarant@gmail.com",
|
20 | "web": "https://github.com/protoEvangelion"
|
21 | }
|
22 | ],
|
23 | "license": "BSD-3-Clause",
|
24 | "engines": {
|
25 | "node": ">=6"
|
26 | },
|
27 | "bin": {
|
28 | "gh": "bin/gh.js"
|
29 | },
|
30 | "scripts": {
|
31 | "build": "tsc",
|
32 | "dev": "tsc --watch",
|
33 | "commit": "git-cz",
|
34 | "format": "prettier 'lib/**/*.js' && prettier 'bin/*.js'",
|
35 | "env:test": "cross-env NODE_ENV=testing GH_USER=protoEvangelion GH_TOKEN=0001",
|
36 | "test": "npm run env:test -- jest",
|
37 | "test:watch": "npm run env:test -- jest --watch",
|
38 | "test:ci": "npm run env:test -- jest",
|
39 | "test:coverage": "npm run env:test -- jest --coverage",
|
40 | "test:program": "npm run env:test -- gh "
|
41 | },
|
42 | "prettier": {
|
43 | "printWidth": 100,
|
44 | "endOfLine": "lf",
|
45 | "semi": false,
|
46 | "singleQuote": true,
|
47 | "tabWidth": 4,
|
48 | "trailingComma": "es5",
|
49 | "useTabs": false
|
50 | },
|
51 | "eslintConfig": {
|
52 | "parser": "@typescript-eslint/parser",
|
53 | "parserOptions": {
|
54 | "project": "./tsconfig.json"
|
55 | },
|
56 | "env": {
|
57 | "es6": true
|
58 | },
|
59 | "extends": [
|
60 | "eslint:recommended",
|
61 | "plugin:@typescript-eslint/eslint-recommended",
|
62 | "plugin:@typescript-eslint/recommended"
|
63 | ],
|
64 | "plugins": [
|
65 | "@typescript-eslint",
|
66 | "fp"
|
67 | ],
|
68 | "rules": {
|
69 | "@typescript-eslint/member-delimiter-style": "off",
|
70 | "@typescript-eslint/no-use-before-define": "off",
|
71 | "@typescript-eslint/explicit-function-return-type": "off",
|
72 | "require-atomic-updates": "off",
|
73 | "fp/no-arguments": "error",
|
74 | "fp/no-class": "error",
|
75 | "fp/no-delete": "error",
|
76 | "fp/no-events": "error",
|
77 | "fp/no-get-set": "error",
|
78 | "fp/no-loops": "error",
|
79 | "fp/no-mutating-assign": "error",
|
80 | "fp/no-mutating-methods": "error",
|
81 | "fp/no-proxy": "error",
|
82 | "fp/no-rest-parameters": "error",
|
83 | "fp/no-this": "error",
|
84 | "fp/no-throw": "error",
|
85 | "fp/no-valueof-field": "error",
|
86 | "no-var": "off"
|
87 | }
|
88 | },
|
89 | "jest": {
|
90 | "collectCoverageFrom": [
|
91 | "lib/**/*.ts"
|
92 | ],
|
93 | "coverageDirectory": "<rootDir>/coverage/",
|
94 | "coveragePathIgnorePatterns": [
|
95 | "node_modules"
|
96 | ],
|
97 | "coverageThreshold": {
|
98 | "global": {
|
99 | "statements": 3,
|
100 | "branches": 0.3,
|
101 | "functions": 0.5,
|
102 | "lines": 3
|
103 | }
|
104 | },
|
105 | "preset": "ts-jest",
|
106 | "testMatch": [
|
107 | "**/?(*.)+(spec|test).ts"
|
108 | ],
|
109 | "testPathIgnorePatterns": [
|
110 | "node_modules"
|
111 | ],
|
112 | "testEnvironment": "node",
|
113 | "verbose": true,
|
114 | "globals": {
|
115 | "ts-jest": {
|
116 | "diagnostics": false
|
117 | }
|
118 | }
|
119 | },
|
120 | "release": {
|
121 | "branch": "master",
|
122 | "debug": true,
|
123 | "prepare": [
|
124 | "@semantic-release/npm",
|
125 | {
|
126 | "path": "@semantic-release/git",
|
127 | "assets": [
|
128 | "package.json"
|
129 | ],
|
130 | "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
131 | }
|
132 | ],
|
133 | "publish": [
|
134 | "@semantic-release/npm",
|
135 | {
|
136 | "path": "@semantic-release/github",
|
137 | "assets": [
|
138 | "bin/gh.js"
|
139 | ]
|
140 | }
|
141 | ]
|
142 | },
|
143 | "config": {
|
144 | "commitizen": {
|
145 | "path": "cz-conventional-changelog"
|
146 | }
|
147 | },
|
148 | "husky": {
|
149 | "hooks": {
|
150 | "pre-commit": "pretty-quick --staged"
|
151 | }
|
152 | },
|
153 | "dependencies": {
|
154 | "@octokit/plugin-throttling": "~2.7.0",
|
155 | "@octokit/rest": "~16.25.0",
|
156 | "cli-table3": "~0.5.1",
|
157 | "colors": "~1.3.3",
|
158 | "fluture": "~11.0.3",
|
159 | "fluture-sanctuary-types": "~4.1.1",
|
160 | "handlebars": "~4.6.0",
|
161 | "immer": "~4.0.2",
|
162 | "inquirer": "~6.2.1",
|
163 | "lodash": "~4.17.15",
|
164 | "marked": "~0.7.0",
|
165 | "marked-terminal": "~3.2.0",
|
166 | "moment": "~2.23.0",
|
167 | "nock": "~12.0.3",
|
168 | "nopt": "~4.0.1",
|
169 | "opn": "~5.4.0",
|
170 | "ora": "~4.0.2",
|
171 | "ramda": "~0.26.1",
|
172 | "request": "~2.88.0",
|
173 | "sanctuary": "~2.0.0",
|
174 | "sanctuary-def": "0.20.0",
|
175 | "tmp": "~0.1.0",
|
176 | "truncate": "~2.0.1",
|
177 | "update-notifier": "~4.0.0",
|
178 | "userhome": "~1.0.0",
|
179 | "which": "~1.3.1",
|
180 | "wordwrap": "~1.0.0"
|
181 | },
|
182 | "devDependencies": {
|
183 | "@semantic-release/git": "~7.0.7",
|
184 | "@semantic-release/github": "~5.2.8",
|
185 | "@semantic-release/npm": "~5.1.3",
|
186 | "@types/jest": "~23.3.11",
|
187 | "@types/node": "~10.12.18",
|
188 | "@typescript-eslint/eslint-plugin": "~2.6.1",
|
189 | "@typescript-eslint/parser": "~2.6.1",
|
190 | "all-contributors-cli": "~6.9.1",
|
191 | "commitizen": "~4.0.3",
|
192 | "cross-env": "~5.2.0",
|
193 | "cz-conventional-changelog": "~2.1.0",
|
194 | "eslint": "~6.5.1",
|
195 | "eslint-plugin-fp": "~2.3.0",
|
196 | "husky": "~1.3.1",
|
197 | "jest": "~24.7.1",
|
198 | "prettier": "~1.15.3",
|
199 | "pretty-quick": "~1.8.0",
|
200 | "semantic-release": "~15.13.24",
|
201 | "strip-ansi": "~5.0.0",
|
202 | "ts-jest": "~24.0.2",
|
203 | "typescript": "~3.9.5"
|
204 | },
|
205 | "repository": {
|
206 | "type": "git",
|
207 | "url": "https://github.com/node-gh/gh.git"
|
208 | },
|
209 | "bugs": {
|
210 | "url": "https://github.com/node-gh/gh/issues"
|
211 | },
|
212 | "files": [
|
213 | "lib",
|
214 | "README.md",
|
215 | "LICENSE.txt",
|
216 | "default.gh.json",
|
217 | "bin"
|
218 | ],
|
219 | "keywords": [
|
220 | "cli",
|
221 | "github",
|
222 | "pull-requests",
|
223 | "prs",
|
224 | "issues",
|
225 | "gists",
|
226 | "repos",
|
227 | "repositories",
|
228 | "git",
|
229 | "commands"
|
230 | ]
|
231 | }
|