|
2 лет назад | |
---|---|---|
.. | ||
babel | 2 лет назад | |
gulp | 2 лет назад | |
jest | 2 лет назад | |
node | 2 лет назад | |
node_modules | 2 лет назад | |
CHANGELOG.md | 2 лет назад | |
LICENSE | 2 лет назад | |
README.md | 2 лет назад | |
package.json | 2 лет назад | |
third-party-module-map.json | 2 лет назад | |
yarn.lock | 2 лет назад |
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.