Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@justeat/f-development-context

Package Overview
Dependencies
Maintainers
53
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@justeat/f-development-context

A package to provide development context options for Storybook and WebDriver

  • 1.1.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
53
Created
Source

f-development-context

  • f-development-context provides entry points for the WebDriver Demo within components so that they can install the standard context of features
  • You shouldn't manually add this to any of your components; the generator will add the devDependency and wire up the WebDriver test scripts automatically

Contexts Added

  • $logger - The standard way to provide diagnostic output through this.$logger
  • $cookies - The standard way to interact with cookies through this.$cookies
  • i18n - The standard way to localise your components using <i18n>, this.i18n and $t('message')
  • VueX - The standard way to store state information in components
  • $gtm - The standard way to provide GTM access via this.$gtm (note: the variable name gtm is configurable)

$logger Interface

  • logError(message, store, additionalProperties)
  • logWarn(message, store, additionalProperties)
  • logInfo(message, store, additionalProperties)

$cookies Interface

  • Refer to third party documentation: https://www.npmjs.com/package/cookie-universal

i18n Interface

VueX Interface

$gtm Interface

Keywords

FAQs

Package last updated on 14 Sep 2021

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