|
il y a 2 ans | |
---|---|---|
.. | ||
babel | il y a 2 ans | |
gulp | il y a 2 ans | |
jest | il y a 2 ans | |
node | il y a 2 ans | |
node_modules | il y a 2 ans | |
CHANGELOG.md | il y a 2 ans | |
LICENSE | il y a 2 ans | |
README.md | il y a 2 ans | |
package.json | il y a 2 ans | |
third-party-module-map.json | il y a 2 ans | |
yarn.lock | il y a 2 ans |
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');
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.