lxy 1c63d88d40 demo 2 år sedan
..
babel 1c63d88d40 demo 2 år sedan
gulp 1c63d88d40 demo 2 år sedan
jest 1c63d88d40 demo 2 år sedan
node 1c63d88d40 demo 2 år sedan
node_modules 1c63d88d40 demo 2 år sedan
CHANGELOG.md 1c63d88d40 demo 2 år sedan
LICENSE 1c63d88d40 demo 2 år sedan
README.md 1c63d88d40 demo 2 år sedan
package.json 1c63d88d40 demo 2 år sedan
third-party-module-map.json 1c63d88d40 demo 2 år sedan
yarn.lock 1c63d88d40 demo 2 år sedan

README.md

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.