1 | {
|
2 | "name": "@octokit/rest",
|
3 | "version": "16.16.4",
|
4 | "publishConfig": {
|
5 | "access": "public"
|
6 | },
|
7 | "description": "GitHub REST API client for Node.js",
|
8 | "keywords": [
|
9 | "octokit",
|
10 | "github",
|
11 | "rest",
|
12 | "api-client"
|
13 | ],
|
14 | "author": "Gregor Martynus (https://github.com/gr2m)",
|
15 | "contributors": [
|
16 | {
|
17 | "name": "Mike de Boer",
|
18 | "email": "info@mikedeboer.nl"
|
19 | },
|
20 | {
|
21 | "name": "Fabian Jakobs",
|
22 | "email": "fabian@c9.io"
|
23 | },
|
24 | {
|
25 | "name": "Joe Gallo",
|
26 | "email": "joe@brassafrax.com"
|
27 | },
|
28 | {
|
29 | "name": "Gregor Martynus",
|
30 | "url": "https://github.com/gr2m"
|
31 | }
|
32 | ],
|
33 | "repository": "https://github.com/octokit/rest.js",
|
34 | "dependencies": {
|
35 | "@octokit/request": "2.4.0",
|
36 | "before-after-hook": "^1.4.0",
|
37 | "btoa-lite": "^1.0.0",
|
38 | "lodash.get": "^4.4.2",
|
39 | "lodash.set": "^4.3.2",
|
40 | "lodash.uniq": "^4.5.0",
|
41 | "octokit-pagination-methods": "^1.1.0",
|
42 | "universal-user-agent": "^2.0.0",
|
43 | "url-template": "^2.0.8"
|
44 | },
|
45 | "devDependencies": {
|
46 | "@gimenete/type-writer": "^0.1.3",
|
47 | "@octokit/fixtures-server": "^5.0.1",
|
48 | "@octokit/routes": "18.6.3",
|
49 | "@types/node": "^11.9.0",
|
50 | "apidoc": "^0.17.6",
|
51 | "bundlesize": "^0.17.0",
|
52 | "chai": "^4.1.2",
|
53 | "compression-webpack-plugin": "^2.0.0",
|
54 | "coveralls": "^3.0.0",
|
55 | "dotenv": "^6.0.0",
|
56 | "gh-pages-with-token": "^1.0.0",
|
57 | "glob": "^7.1.2",
|
58 | "http-proxy-agent": "^2.1.0",
|
59 | "lodash.camelcase": "^4.3.0",
|
60 | "lodash.merge": "^4.6.1",
|
61 | "lodash.upperfirst": "^4.3.1",
|
62 | "mkdirp": "^0.5.1",
|
63 | "mocha": "^6.0.0",
|
64 | "mustache": "^3.0.0",
|
65 | "nock": "^10.0.0",
|
66 | "npm-run-all": "^4.1.2",
|
67 | "nyc": "^13.2.0",
|
68 | "prettier": "^1.14.2",
|
69 | "proxy": "^0.2.4",
|
70 | "semantic-release": "^15.0.0",
|
71 | "sinon": "^7.2.4",
|
72 | "sinon-chai": "^3.0.0",
|
73 | "sort-keys": "^2.0.0",
|
74 | "standard": "^12.0.0",
|
75 | "string-to-arraybuffer": "^1.0.0",
|
76 | "typescript": "^3.3.1",
|
77 | "webpack": "^4.0.0",
|
78 | "webpack-bundle-analyzer": "^3.0.0",
|
79 | "webpack-cli": "^3.0.0"
|
80 | },
|
81 | "types": "index.d.ts",
|
82 | "scripts": {
|
83 | "coverage": "nyc report --reporter=html && open coverage/index.html",
|
84 | "pretest": "standard",
|
85 | "test": "nyc mocha test/mocha-node-setup.js \"test/*/**/*-test.js\"",
|
86 | "test:browser": "cypress run --browser chrome",
|
87 | "test:memory": "mocha test/memory-test",
|
88 | "build": "npm-run-all build:*",
|
89 | "prebuild:docs": "mkdirp doc/",
|
90 | "build:docs": "node scripts/generate-api-docs",
|
91 | "postbuild:docs": "apidoc -i doc/ -o doc/",
|
92 | "build:ts": "node scripts/generate-types",
|
93 | "prebuild:browser": "mkdirp dist/",
|
94 | "build:browser": "npm-run-all build:browser:*",
|
95 | "build:browser:development": "webpack --mode development --entry . --output-library=Octokit --output=./dist/octokit-rest.js --profile --json > dist/bundle-stats.json",
|
96 | "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",
|
97 | "generate-bundle-report": "webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html",
|
98 | "generate-routes": "node scripts/generate-routes",
|
99 | "prevalidate:ts": "npm run -s build:ts",
|
100 | "validate:ts": "tsc --target es6 --noImplicitAny index.d.ts",
|
101 | "postvalidate:ts": "tsc --noEmit --target es6 test/typescript-validate.ts",
|
102 | "deploy-docs": "gh-pages-with-token -d doc",
|
103 | "semantic-release": "semantic-release",
|
104 | "start-fixtures-server": "octokit-fixtures-server"
|
105 | },
|
106 | "license": "MIT",
|
107 | "files": [
|
108 | "index.js",
|
109 | "index.d.ts",
|
110 | "lib",
|
111 | "plugins"
|
112 | ],
|
113 | "apidoc": {
|
114 | "template": {
|
115 | "withCompare": false
|
116 | }
|
117 | },
|
118 | "nyc": {
|
119 | "ignore": [
|
120 | "test"
|
121 | ]
|
122 | },
|
123 | "release": {
|
124 | "publish": [
|
125 | "@semantic-release/npm",
|
126 | {
|
127 | "path": "@semantic-release/github",
|
128 | "assets": [
|
129 | "dist/*",
|
130 | "!dist/*.map.gz"
|
131 | ]
|
132 | }
|
133 | ]
|
134 | },
|
135 | "standard": {
|
136 | "globals": [
|
137 | "describe",
|
138 | "before",
|
139 | "beforeEach",
|
140 | "afterEach",
|
141 | "after",
|
142 | "it",
|
143 | "expect",
|
144 | "cy"
|
145 | ]
|
146 | },
|
147 | "bundlesize": [
|
148 | {
|
149 | "path": "./dist/octokit-rest.min.js.gz",
|
150 | "maxSize": "33 kB"
|
151 | }
|
152 | ]
|
153 | }
|