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

@twist/configuration

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twist/configuration

[![Build Status](https://travis-ci.org/adobe/twist-configuration.svg?branch=master)](https://travis-ci.org/adobe/twist-configuration)

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

Twist Configuration

Build Status

Configuration of Twist repos - this reads the configuration from .twistrc. This is used for configuring Babel.

Usage

Note: Most users will not use @twist/configuration directly, but will instead include a plugin for the build system and framework that they're targeting - for example @twist/react-webpack-plugin. This internally uses Twist configuration.

Usage with Babel:

let TwistConfiguration = require('@twist/configuration');
var config = new TwistConfiguration('node', options);

babel.transform(code, config.babelOptions);

By default, TwistConfiguration will read the options in the .twistrc file in the current working directory (or .twistrc.js if it's a JavaScript file). You can specify a different location via the root option. Any options you pass in override the .twistrc options.

Options

TODO

About Twist

Twist is a state-management library for JavaScript applications. It's influenced by Redux and MobX, which are two of the popular state-management libraries for React.

FAQs

Package last updated on 10 Jan 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