UNPKG

6.54 kBJSONView Raw
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.2",
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 "immer": "~4.0.2",
161 "handlebars": "~4.5.3",
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": "~10.0.5",
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 "tmp": "~0.1.0",
175 "truncate": "~2.0.1",
176 "update-notifier": "~2.5.0",
177 "userhome": "~1.0.0",
178 "which": "~1.3.1",
179 "wordwrap": "~1.0.0"
180 },
181 "devDependencies": {
182 "@semantic-release/git": "~7.0.7",
183 "@semantic-release/github": "~5.2.8",
184 "@semantic-release/npm": "~5.1.3",
185 "@types/jest": "~23.3.11",
186 "@types/node": "~10.12.18",
187 "@typescript-eslint/eslint-plugin": "~2.6.1",
188 "@typescript-eslint/parser": "~2.6.1",
189 "all-contributors-cli": "~6.9.1",
190 "commitizen": "~4.0.3",
191 "cross-env": "~5.2.0",
192 "cz-conventional-changelog": "~2.1.0",
193 "eslint": "~6.5.1",
194 "eslint-plugin-fp": "~2.3.0",
195 "husky": "~1.3.1",
196 "jest": "~24.7.1",
197 "prettier": "~1.15.3",
198 "pretty-quick": "~1.8.0",
199 "semantic-release": "~15.13.24",
200 "strip-ansi": "~5.0.0",
201 "ts-jest": "~24.0.2",
202 "typescript": "~3.2.2"
203 },
204 "repository": {
205 "type": "git",
206 "url": "https://github.com/node-gh/gh.git"
207 },
208 "bugs": {
209 "url": "https://github.com/node-gh/gh/issues"
210 },
211 "files": [
212 "lib",
213 "README.md",
214 "LICENSE.txt",
215 "default.gh.json",
216 "bin"
217 ],
218 "keywords": [
219 "cli",
220 "github",
221 "pull-requests",
222 "prs",
223 "issues",
224 "gists",
225 "repos",
226 "repositories",
227 "git",
228 "commands"
229 ]
230}