fbjs-scripts

3.0.1 • Public • Published

fbjs-scripts

This is a collection of tools and scripts intended to be used in conjunction with fbjs. Previously these were shipped as a part of fbjs.

// before (fbjs@0.1.0)
var invariant = require('fbjs/lib/invariant');
var devExpression = require('fbjs/scripts/babel/dev-expression');

// after (fbjs, fbjs-scripts@0.2.0)
var invariant = require('fbjs/lib/invariant');
var devExpression = require('fbjs-scripts/babel/dev-expression');

Why?

This ensures that production code consuming fbjs library code does not need to install script dependencies, unless you explicitly use them via the fbjs-scripts package.

Readme

Keywords

none

Package Sidebar

Install

npm i fbjs-scripts

Weekly Downloads

124,814

Version

3.0.1

License

MIT

Unpacked Size

18.9 kB

Total Files

15

Last publish

Collaborators

  • zpao
  • rubennorte
  • fb
  • bigfootjon