GT2/Ejectable/node_modules/fbjs-scripts
Ren Juan 06c1a5835d set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
..
babel set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
gulp set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
jest set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
node set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
node_modules set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
CHANGELOG.md set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
LICENSE set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
README.md set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
package.json set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
third-party-module-map.json set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
yarn.lock set clean start from expo 4.10 2021-08-16 00:14:59 +00:00

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.