JSPM

fusion-cli

0.3.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 583
  • Score
    100M100P100Q101294F
  • License MIT

CLI

Package Exports

  • fusion-cli/plugins/environment-variables-plugin
  • fusion-cli/test/run-command

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 (fusion-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

fusion-cli

Build status

Installation

yarn add fusion-cli

CLI API

  • fusion build [dir] [--test] [--cover] [--production] [--log-level]: Build your appplication
    • --test: Build tests as well as application
    • --cover: Build tests (with coverage) as well as application
    • --production: Build production assets
    • --log-level: Log level to output to console [default: "info"]
  • fusion dev [dir] [--port] [--no-hmr] [--test] [--cover] [--log-level]: Run your application in development
    • --port: The port on which the application runs [default: 3000]
    • --no-hmr: Run without hot modules replacement
    • --test: Run tests as well as application
    • --cover: Run tests (with coverage) as well as application
    • --log-level: Log level to output to console [default: "info"]
  • fusion profile [--environment] [--watch] [--file-count]: Profile your application
    • --environment: Either production or development [default: "production"]
    • --watch: After profiling, launch source-map-explorer with file watch
    • --file-count: The number of file sizes to output, sorted largest to smallest (-1 for all files) [default: 20]
  • fusion start [--environment]: Run your application
    • --environment: Which environment/assets to run - defaults to first available assets among ["development", "test", "production"]
  • fusion test [--cover] [--watch] [--skip-build]: Run tests
    • --cover: Run tests with coverage
    • --watch: Automatically re-profile your application on changes
    • --skip-build: Use existing built assets
  • fusion test-app [--watch] [--match]: Run tests
    • --watch: Automatically run tests when code changes.
    • --match="somestring": Only runs tests against files which match this string.
    • --coverage: Collects and outputs test coverage
    • --env: Which environments to run tests in. Defaults to "node,jsdom". You may specify only one.
    • --debug: Allows you to debug tests using the chrome inspector (chrome://inspect).
    • --updateSnapshot: Updates snapshots