Socket
Socket
Sign inDemoInstall

courb-contract

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

courb-contract

Manage API contract payload fixtures.


Version published
Maintainers
1
Created
Source

Courb-contract

WIP prototype with the goal to integrate API-contract payload fixtures into an Ember-CLI test suite, and ensure compatibility between server and client API interfaces.

The addon will take a remote contract repository, look for data.json files and copy them, wrapped as ES6 modules, into a local fixtures directory.

Requirements

  • The module has nodegit as dependency, which binds to libgit2. There might be problems during compilation and libgit2 might need to be installed separately. E.g. with homebrew on Mac OS X you can do brew install libgit2.

  • Minimal configuration file

    // config/contract.js
    module.exports = {
      repoUrl: 'contract-repo-url',
      githubToken: 'github-token',
      fixtureDir: 'local-fixtures-directory'
    };
    

Installation

ember install courb-contract

Available commands

  • ember contract:sync ... update local fixtures with remote data

Keywords

FAQs

Package last updated on 05 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc