JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 200491
  • Score
    100M100P100Q162930F
  • License BSD-3-Clause

A bundle of helpful scripts used in projects consuming fbjs.

Package Exports

  • fbjs-scripts/babel/dev-expression
  • fbjs-scripts/babel/inline-requires
  • fbjs-scripts/babel/rewrite-modules
  • fbjs-scripts/jest/createCacheKeyFunction

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fbjs-scripts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.