@octokit/endpoint

v3.0.1
Turns REST API endpoints into generic request options
octokit github api rest

prebuild

mkdirp dist/

build

npm-run-all build:*

build:development

webpack --mode development --entry . --output-library=Octokit --output=./dist/octokit-endpoint.js --profile --json > dist/bundle-stats.json

build:production

webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=Octokit --output-path=./dist --output-filename=octokit-endpoint.min.js --devtool source-map

bundle-report

webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html

coverage

nyc report --reporter=html && open coverage/index.html

coverage:upload

nyc report --reporter=text-lcov | coveralls

pretest

standard && standard-markdown *.md

test

nyc mocha test/*-test.js

test:browser

cypress run --browser chrome

semantic-release

semantic-release
npm i @octokit/[email protected]

Metadata

  • MIT
  • Whatever
  • Gregor Martynus
  • released 11/12/2018

Downloads