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

@shopify/slate-config

Package Overview
Dependencies
Maintainers
9
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/slate-config

Generate configurations for Slate packages by applying values from slate.config.js to override default values

  • 1.0.0-alpha.26
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
177
increased by110.71%
Maintainers
9
Weekly downloads
 
Created
Source

@shopify/slate-config

Generates configurations for Slate packages by applying values from slate.config.js to override default values.

An example config file from @shopify/slate-babel:

const slateConfig = require('@shopify/slate-config');

module.exports = slateConfig.generate({
  items: [
    {
      id: 'babelLoaderEnable',
      default: true,
      description: 'Enable/disable Babel for theme scripts',
      type: 'boolean',
    },
  ],
});

slate.config.js could override the default value of babelLoaderEnable by declaring the following:

module.exports = {
  babelLoaderEnable: false,
};

FAQs

Package last updated on 27 Mar 2018

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