UNPKG

4.51 kBJSONView Raw
1{
2 "name": "@octokit/rest",
3 "version": "15.6.1",
4 "publishConfig": {
5 "access": "public",
6 "tag": "latest"
7 },
8 "description": "GitHub REST API client for Node.js",
9 "keywords": [
10 "octokit",
11 "github",
12 "rest",
13 "api-client"
14 ],
15 "author": "Gregor Martynus (https://github.com/gr2m)",
16 "contributors": [
17 {
18 "name": "Mike de Boer",
19 "email": "info@mikedeboer.nl"
20 },
21 {
22 "name": "Fabian Jakobs",
23 "email": "fabian@c9.io"
24 },
25 {
26 "name": "Joe Gallo",
27 "email": "joe@brassafrax.com"
28 },
29 {
30 "name": "Gregor Martynus",
31 "url": "https://github.com/gr2m"
32 }
33 ],
34 "repository": "https://github.com/octokit/rest.js",
35 "engines": {
36 "node": ">=4"
37 },
38 "dependencies": {
39 "before-after-hook": "^1.1.0",
40 "btoa-lite": "^1.0.0",
41 "debug": "^3.1.0",
42 "http-proxy-agent": "^2.1.0",
43 "https-proxy-agent": "^2.2.0",
44 "lodash": "^4.17.4",
45 "node-fetch": "^2.1.1",
46 "url-template": "^2.0.8"
47 },
48 "devDependencies": {
49 "@gr2m/node-fetch": "^2.0.0",
50 "@octokit/fixtures-server": "^2.0.1",
51 "@octokit/routes": "7.3.0",
52 "@types/node": "^9.4.6",
53 "apidoc": "^0.17.6",
54 "bundlesize": "^0.17.0",
55 "chai": "^4.1.2",
56 "compression-webpack-plugin": "^1.1.6",
57 "coveralls": "^3.0.0",
58 "cypress": "^2.0.2",
59 "dotenv": "^5.0.0",
60 "gh-pages-with-token": "^1.0.0",
61 "glob": "^7.1.2",
62 "jsondiff": "0.0.0",
63 "mkdirp": "^0.5.1",
64 "mocha": "^5.0.0",
65 "mustache": "^2.2.1",
66 "nock": "^9.1.0",
67 "npm-run-all": "^4.1.2",
68 "nyc": "^11.2.1",
69 "proxy": "^0.2.4",
70 "proxyquire": "^2.0.0",
71 "semantic-release": "^15.0.0",
72 "sinon": "^5.0.0",
73 "sinon-chai": "^3.0.0",
74 "standard": "^11.0.0",
75 "standard-markdown": "^4.0.2",
76 "string-to-arraybuffer": "^1.0.0",
77 "typescript": "^2.6.2",
78 "webpack": "^4.0.0",
79 "webpack-bundle-analyzer": "^2.10.0",
80 "webpack-cli": "^2.0.4"
81 },
82 "browser": {
83 "./lib/get-request-agent.js": false,
84 "./lib/request/get-buffer-response.js": "./lib/request/get-buffer-response-browser.js"
85 },
86 "types": "index.d.ts",
87 "scripts": {
88 "coverage": "nyc report --reporter=html && open coverage/index.html",
89 "coverage:upload": "nyc report --reporter=text-lcov | coveralls",
90 "pretest": "standard && standard-markdown",
91 "test": "nyc mocha test/mocha-node-setup.js \"test/**/*-test.js\"",
92 "test:browser": "cypress run --browser chrome",
93 "test:examples": "node test/examples.js",
94 "build": "npm-run-all build:*",
95 "prebuild:docs": "mkdirp doc/",
96 "build:docs": "node scripts/generate-api-docs",
97 "postbuild:docs": "apidoc -i doc/ -o doc/",
98 "build:flow": "node scripts/generate-flow-types",
99 "build:ts": "node scripts/generate-typescript-types",
100 "prebuild:browser": "mkdirp dist/",
101 "build:browser": "npm-run-all build:browser:*",
102 "build:browser:development": "webpack --mode development --entry . --output-library=Octokit --output=./dist/octokit-rest.js --profile --json > dist/bundle-stats.json",
103 "build:browser:production": "webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=Octokit --output-path=./dist --output-filename=octokit-rest.min.js --devtool source-map",
104 "generate-bundle-report": "webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html",
105 "generate-routes": "node scripts/generate-routes",
106 "prevalidate:ts": "npm run -s build:ts",
107 "validate:ts": "tsc --target es6 index.d.ts",
108 "postvalidate:ts": "tsc --noEmit test/typescript-validate.ts",
109 "deploy-docs": "gh-pages-with-token -d doc",
110 "semantic-release": "semantic-release",
111 "start-fixtures-server": "octokit-fixtures-server"
112 },
113 "license": "MIT",
114 "files": [
115 "index.js",
116 "index.d.ts",
117 "index.js.flow",
118 "lib"
119 ],
120 "apidoc": {
121 "template": {
122 "withCompare": false
123 }
124 },
125 "nyc": {
126 "ignore": [
127 "examples",
128 "test"
129 ]
130 },
131 "release": {
132 "publish": [
133 "@semantic-release/npm",
134 {
135 "path": "@semantic-release/github",
136 "assets": [
137 "dist/*",
138 "!dist/*.map.gz"
139 ]
140 }
141 ]
142 },
143 "standard": {
144 "globals": [
145 "describe",
146 "before",
147 "beforeEach",
148 "afterEach",
149 "after",
150 "it",
151 "expect",
152 "cy"
153 ]
154 },
155 "bundlesize": [
156 {
157 "path": "./dist/octokit-rest.min.js.gz",
158 "maxSize": "33 kB"
159 }
160 ]
161}