UNPKG

6.5 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.4.0",
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 "lib/**/*.js",
139 "bin/gh.js"
140 ]
141 }
142 ]
143 },
144 "config": {
145 "commitizen": {
146 "path": "cz-conventional-changelog"
147 }
148 },
149 "husky": {
150 "hooks": {
151 "pre-commit": "pretty-quick --staged"
152 }
153 },
154 "dependencies": {
155 "@octokit/plugin-throttling": "~2.4.0",
156 "@octokit/rest": "~16.25.0",
157 "cli-table3": "~0.5.1",
158 "colors": "~1.3.3",
159 "fluture": "~11.0.3",
160 "fluture-sanctuary-types": "~4.1.1",
161 "handlebars": "~4.3.5",
162 "immer": "~4.0.0",
163 "inquirer": "~6.2.1",
164 "lodash": "~4.17.15",
165 "marked": "~0.7.0",
166 "marked-terminal": "~3.2.0",
167 "moment": "~2.23.0",
168 "nock": "~10.0.5",
169 "nopt": "~3.0.6",
170 "opn": "~5.4.0",
171 "ramda": "~0.26.1",
172 "request": "~2.88.0",
173 "sanctuary": "~2.0.0",
174 "truncate": "~2.0.1",
175 "update-notifier": "~2.5.0",
176 "userhome": "~1.0.0",
177 "which": "~1.3.1",
178 "wordwrap": "~1.0.0"
179 },
180 "devDependencies": {
181 "@semantic-release/git": "~7.0.7",
182 "@semantic-release/github": "~5.2.8",
183 "@semantic-release/npm": "~5.1.3",
184 "@types/jest": "~23.3.11",
185 "@types/node": "~10.12.18",
186 "@typescript-eslint/eslint-plugin": "~2.3.3",
187 "@typescript-eslint/parser": "~2.3.3",
188 "all-contributors-cli": "~6.9.1",
189 "commitizen": "~4.0.3",
190 "cross-env": "~5.2.0",
191 "cz-conventional-changelog": "~2.1.0",
192 "eslint": "~6.5.1",
193 "eslint-plugin-fp": "~2.3.0",
194 "husky": "~1.3.1",
195 "jest": "~24.7.1",
196 "prettier": "~1.15.3",
197 "pretty-quick": "~1.8.0",
198 "semantic-release": "~15.13.24",
199 "strip-ansi": "~5.0.0",
200 "ts-jest": "~24.0.2",
201 "typescript": "~3.2.2"
202 },
203 "repository": {
204 "type": "git",
205 "url": "https://github.com/node-gh/gh.git"
206 },
207 "bugs": {
208 "url": "https://github.com/node-gh/gh/issues"
209 },
210 "files": [
211 "lib",
212 "README.md",
213 "LICENSE.txt",
214 "bin"
215 ],
216 "keywords": [
217 "cli",
218 "github",
219 "pull-requests",
220 "prs",
221 "issues",
222 "gists",
223 "repos",
224 "repositories",
225 "git",
226 "commands"
227 ]
228}