@octokit/rest
v16.0.3 octokit github rest api-client
test
nyc mocha test/mocha-node-setup.js "test/**/*-test.js"
build
npm-run-all build:*
pretest
standard
build:ts
node scripts/generate-types
coverage
nyc report --reporter=html && open coverage/index.html
build:docs
node scripts/generate-api-docs
deploy-docs
gh-pages-with-token -d doc
validate:ts
tsc --target es6 --noImplicitAny index.d.ts
test:browser
cypress run --browser chrome
build:browser
npm-run-all build:browser:*
prebuild:docs
mkdirp doc/
postbuild:docs
apidoc -i doc/ -o doc/
prevalidate:ts
npm run -s build:ts
coverage:upload
nyc report --reporter=text-lcov | coveralls
generate-routes
node scripts/generate-routes
postvalidate:ts
tsc --noEmit --target es6 test/typescript-validate.ts
prebuild:browser
mkdirp dist/
semantic-release
semantic-release
start-fixtures-server
octokit-fixtures-server
generate-bundle-report
webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html
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
build:browser:development
webpack --mode development --entry . --output-library=Octokit --output=./dist/octokit-rest.js --profile --json > dist/bundle-stats.json
npm i @octokit/[email protected]
Metadata
- MIT
- Whatever
- Gregor Martynus
- released 11/26/2018