1 | {
|
2 | "name": "@octokit/rest",
|
3 | "version": "15.1.0",
|
4 | "publishConfig": {
|
5 | "access": "public",
|
6 | "tag": "next"
|
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 | "is-array-buffer": "^1.0.0",
|
43 | "is-stream": "^1.1.0",
|
44 | "lodash": "^4.17.4",
|
45 | "url-template": "^2.0.8"
|
46 | },
|
47 | "devDependencies": {
|
48 | "@octokit/fixtures-server": "^2.0.1",
|
49 | "@types/node": "^9.4.6",
|
50 | "apidoc": "^0.17.6",
|
51 | "bundlesize": "^0.16.0",
|
52 | "chai": "^4.1.2",
|
53 | "compression-webpack-plugin": "^1.1.6",
|
54 | "coveralls": "^3.0.0",
|
55 | "cypress": "^2.0.2",
|
56 | "dotenv": "^5.0.0",
|
57 | "gh-pages-with-token": "^1.0.0",
|
58 | "glob": "^7.1.2",
|
59 | "mkdirp": "^0.5.1",
|
60 | "mocha": "^5.0.0",
|
61 | "mustache": "^2.2.1",
|
62 | "nock": "^9.1.0",
|
63 | "node-fetch": "^2.0.0",
|
64 | "npm-run-all": "^4.1.2",
|
65 | "nyc": "^11.2.1",
|
66 | "proxyquire": "^1.8.0",
|
67 | "semantic-release": "^14.0.3",
|
68 | "sinon": "^4.2.2",
|
69 | "sinon-chai": "^2.14.0",
|
70 | "standard": "^11.0.0",
|
71 | "standard-markdown": "^4.0.2",
|
72 | "string-to-arraybuffer": "^1.0.0",
|
73 | "typescript": "^2.6.2",
|
74 | "webpack": "^4.0.0",
|
75 | "webpack-bundle-analyzer": "^2.10.0",
|
76 | "webpack-cli": "^2.0.4"
|
77 | },
|
78 | "browser": {
|
79 | "./lib/request/request.js": "./lib/request/request-browser.js",
|
80 | "./lib/get-request-agent.js": false
|
81 | },
|
82 | "types": "index.d.ts",
|
83 | "scripts": {
|
84 | "coverage": "nyc report --reporter=html && open coverage/index.html",
|
85 | "coverage:upload": "nyc report --reporter=text-lcov | coveralls",
|
86 | "pretest": "standard && standard-markdown",
|
87 | "test": "nyc mocha test/mocha-node-setup.js 'test/**/*-test.js'",
|
88 | "test:browser": "cypress run --browser chrome",
|
89 | "test:examples": "node test/examples.js",
|
90 | "build": "npm-run-all build:*",
|
91 | "prebuild:docs": "mkdirp doc/",
|
92 | "build:docs": "node scripts/generate-api-docs",
|
93 | "postbuild:docs": "apidoc -i doc/ -o doc/",
|
94 | "build:flow": "node scripts/generate-flow-types",
|
95 | "build:ts": "node scripts/generate-typescript-types",
|
96 | "prebuild:browser": "mkdirp dist/",
|
97 | "build:browser": "npm-run-all build:browser:*",
|
98 | "build:browser:development": "webpack --mode development --entry . --output-library=Octokit --output=./dist/octokit-rest.js --profile --json > dist/bundle-stats.json",
|
99 | "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",
|
100 | "generate-bundle-report": "webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html",
|
101 | "prevalidate:ts": "npm run -s build:ts",
|
102 | "validate:ts": "tsc --target es6 index.d.ts",
|
103 | "deploy-docs": "gh-pages-with-token -d doc",
|
104 | "semantic-release": "semantic-release",
|
105 | "start-fixtures-server": "octokit-fixtures-server"
|
106 | },
|
107 | "license": "MIT",
|
108 | "files": [
|
109 | "index.js",
|
110 | "index.d.ts",
|
111 | "index.js.flow",
|
112 | "lib"
|
113 | ],
|
114 | "apidoc": {
|
115 | "template": {
|
116 | "withCompare": false
|
117 | }
|
118 | },
|
119 | "nyc": {
|
120 | "ignore": [
|
121 | "examples",
|
122 | "test"
|
123 | ]
|
124 | },
|
125 | "release": {
|
126 | "publish": [
|
127 | "@semantic-release/npm",
|
128 | {
|
129 | "path": "@semantic-release/github",
|
130 | "assets": [
|
131 | "dist/*.js"
|
132 | ]
|
133 | }
|
134 | ]
|
135 | },
|
136 | "standard": {
|
137 | "globals": [
|
138 | "describe",
|
139 | "before",
|
140 | "beforeEach",
|
141 | "afterEach",
|
142 | "after",
|
143 | "it",
|
144 | "expect",
|
145 | "cy"
|
146 | ]
|
147 | },
|
148 | "bundlesize": [
|
149 | {
|
150 | "path": "./dist/octokit-rest.min.js.gz",
|
151 | "maxSize": "33 kB"
|
152 | }
|
153 | ]
|
154 | }
|