fusion-cli
CLI
Last updated 20 days ago by fusion-ci .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install fusion-cli 
SYNC missed versions from official npm registry.

fusion-cli

Build status

The CLI interface for Fusion.js

The fusion-cli package is responsible for orchestrating compile-time configuration for server and browser bundles, as well as development, test and production variations. It provides a standardized Babel configuration that includes async/await support as well as stage 3+ Ecmascript features.

Due to the complexity involved in configuring many permutations of configurations, Fusion.js does not support custom webpack.config. This design decision allows Fusion.js to eventually move away from Webpack if faster and better bundlers become available. Additionally, it allows Fusion.js to make changes to the internal webpack configuration without the concern of breaking users customizations. If you run into a situation where you feel you need to make a webpack customization, please reach out to us on slack or create an issue describing your use case.

The CLI is also responsible for hot module reloading in development mode, and for running the web server.

Installation

yarn add fusion-cli

CLI API

The CLI API can be most easily run through the Yarn or NPX CLI, e.g. yarn fusion build or npx fusion build.

  • fusion build [dir] [--production] [--log-level] Builds your application assets

    This command generates transpiled javascript/source map files (aka assets, artifacts) for browser and server. By default it builds development assets, but can also build test and production assets, given the respective flags.

    Build artifacts are stored in the .fusion directory.

    • --production: Build production assets
    • --log-level: Log level to output to console [default: "info"]
  • fusion dev [dir] [--port] [--no-hmr] [--test] [--log-level] [--forceLegacyBuild] Builds development assets and runs the application in development mode

    Note that this command only builds browser artifacts in memory, and it doesn't save them to the filesystem. This allows hot module reloading to occur faster since there's no performance cost due to I/O access.

    • --port: The port on which the application runs [default: 3000]
    • --no-hmr: Run without hot modules replacement
    • --test: Run tests as well as application
    • --log-level: Log level to output to console [default: "info"]
    • --forceLegacyBuild: Force enable legacy build. By default not compiled in dev.
    • --perserve-names: Disable name mangling during script minification

Webpack stats.json file

Building an app generates a .fusion/stats.json file, which can be used with webpack-bundle-analyzer

Current Tags

  • 1.18.2-alpha.2                                ...           alpha (7 months ago)
  • 1.14.1-beta.0                                ...           beta (10 months ago)
  • 1.2.2-beta1                                ...           beta1 (2 years ago)
  • 0.0.0-canary.0af264b.0                                ...           canary (an hour ago)
  • 1.18.0-debugging                                ...           debugging (8 months ago)
  • 1.18.0-debugging-1                                ...           debugging-1 (8 months ago)
  • 2.4.3                                ...           latest (20 days ago)
  • 0.0.1-prealpha.0                                ...           prealpha (2 years ago)
  • 1.19.0-0                                ...           prerelease (6 months ago)

341 Versions

  • 0.0.0-canary.0af264b.0                                ...           an hour ago
  • 0.0.0-canary.f8e4f0b.0                                ...           8 hours ago
  • 0.0.0-canary.e3078c3.0                                ...           6 days ago
  • 0.0.0-canary.37af1b2.0                                ...           7 days ago
  • 0.0.0-canary.0b935d0.0                                ...           12 days ago
  • 0.0.0-canary.f12f055.0                                ...           12 days ago
  • 0.0.0-canary.d7c5910.0                                ...           12 days ago
  • 2.4.3                                ...           20 days ago
  • 0.0.0-canary.134008e.0                                ...           21 days ago
  • 0.0.0-canary.e9cf2b6.0                                ...           24 days ago
  • 0.0.0-canary.d2bdd50.0                                ...           24 days ago
  • 0.0.0-canary.e5bcb05.0                                ...           25 days ago
  • 0.0.0-canary.1cf4ed2.0                                ...           a month ago
  • 2.4.2                                ...           2 months ago
  • 0.0.0-canary.acb5af0.0                                ...           2 months ago
  • 0.0.0-canary.347616b.0                                ...           2 months ago
  • 2.4.1                                ...           2 months ago
  • 0.0.0-canary.a399454.0                                ...           2 months ago
  • 0.0.0-canary.d787a1d.0                                ...           2 months ago
  • 0.0.0-canary.67e33d8.0                                ...           2 months ago
  • 0.0.0-canary.a911dd9.0                                ...           2 months ago
  • 0.0.0-canary.22593cf.0                                ...           2 months ago
  • 0.0.0-canary.dd07585.0                                ...           2 months ago
  • 0.0.0-canary.5be6a00.0                                ...           2 months ago
  • 0.0.0-canary.d4b0b6c.0                                ...           2 months ago
  • 0.0.0-canary.49d4d79.0                                ...           2 months ago
  • 0.0.0-canary.2925a25.0                                ...           2 months ago
  • 0.0.0-canary.ff793d9.0                                ...           2 months ago
  • 0.0.0-canary.a27ac53.0                                ...           2 months ago
  • 0.0.0-canary.08011c5.0                                ...           2 months ago
  • 0.0.0-canary.ad6c873.0                                ...           2 months ago
  • 0.0.0-canary.c0ad947.0                                ...           2 months ago
  • 0.0.0-canary.413f404.0                                ...           2 months ago
  • 2.4.0                                ...           2 months ago
  • 0.0.0-canary.109b061.0                                ...           2 months ago
  • 0.0.0-canary.66d82db.0                                ...           2 months ago
  • 0.0.0-canary.a0f0132.0                                ...           2 months ago
  • 0.0.0-canary.2a2b83b.0                                ...           2 months ago
  • 0.0.0-canary.d78b7bb.0                                ...           2 months ago
  • 0.0.0-canary.096185d.0                                ...           2 months ago
  • 0.0.0-canary.9d5ef83.0                                ...           2 months ago
  • 0.0.0-canary.f608c58.0                                ...           3 months ago
  • 0.0.0-canary.a9d6e7c.0                                ...           3 months ago
  • 0.0.0-canary.aa40d96.0                                ...           3 months ago
  • 0.0.0-canary.c189a42.0                                ...           3 months ago
  • 0.0.0-canary.d767d28.0                                ...           3 months ago
  • 0.0.0-canary.854848e.0                                ...           3 months ago
  • 0.0.0-canary.e2fcadb.0                                ...           3 months ago
  • 2.3.0                                ...           3 months ago
  • 0.0.0-canary.ffb0ab3.0                                ...           3 months ago
  • 0.0.0-canary.b102bb9.0                                ...           3 months ago
  • 0.0.0-canary.1e7190d.0                                ...           3 months ago
  • 0.0.0-canary.73f956e.0                                ...           3 months ago
  • 0.0.0-canary.e3270dd.0                                ...           3 months ago
  • 0.0.0-canary.4c8e718.0                                ...           3 months ago
  • 0.0.0-canary.aa5bec0.0                                ...           3 months ago
  • 0.0.0-canary.bd48967.0                                ...           3 months ago
  • 0.0.0-canary.465e7e1.2                                ...           3 months ago
  • 0.0.0-canary.465e7e1.1                                ...           3 months ago
  • 0.0.0-canary.465e7e1.0                                ...           3 months ago
  • 0.0.0-canary.d1e11d1.1                                ...           3 months ago
  • 0.0.0-canary.d1e11d1.0                                ...           3 months ago
  • 0.0.0-canary.b30cfc9.0                                ...           3 months ago
  • 0.0.0-canary.3a6c203.0                                ...           3 months ago
  • 0.0.0-canary.73b3b7a.0                                ...           3 months ago
  • 0.0.0-canary.87693bb.1                                ...           3 months ago
  • 0.0.0-canary.87693bb.0                                ...           3 months ago
  • 0.0.0-canary.36c6897.0                                ...           3 months ago
  • 0.0.0-canary.ca9c1e7.0                                ...           3 months ago
  • 0.0.0-canary.bdd94ac.0                                ...           3 months ago
  • 2.2.1                                ...           3 months ago
  • 0.0.0-canary.631e52a.0                                ...           3 months ago
  • 0.0.0-canary.96b08c1.0                                ...           3 months ago
  • 0.0.0-canary.88403d8.0                                ...           3 months ago
  • 0.0.0-canary.4a47f03.0                                ...           4 months ago
  • 0.0.0-canary.a8af54e.0                                ...           4 months ago
  • 0.0.0-canary.675492e.0                                ...           4 months ago
  • 0.0.0-canary.1b63aac.0                                ...           4 months ago
  • 0.0.0-canary.47d3251.0                                ...           4 months ago
  • 0.0.0-canary.6499178.0                                ...           4 months ago
  • 0.0.0-canary.d0e4cd8.0                                ...           4 months ago
  • 0.0.0-canary.17cfc1d.0                                ...           4 months ago
  • 0.0.0-canary.08790d0.0                                ...           4 months ago
  • 0.0.0-canary.fbc7ca5.0                                ...           4 months ago
  • 0.0.0-canary.9dc742c.0                                ...           4 months ago
  • 0.0.0-canary.471a10b.0                                ...           4 months ago
  • 0.0.0-canary.0953f07.0                                ...           4 months ago
  • 0.0.0-canary.14b4f0e.0                                ...           4 months ago
  • 0.0.0-canary.da2cfec.0                                ...           4 months ago
  • 0.0.0-canary.02195f4.0                                ...           4 months ago
  • 0.0.0-canary.a8de467.1                                ...           4 months ago
  • 0.0.0-canary.a8de467.0                                ...           4 months ago
  • 0.0.0-canary.fc2bf62.0                                ...           4 months ago
  • 0.0.0-canary.e9f07ef.0                                ...           4 months ago
  • 0.0.0-canary.ec8188c.0                                ...           4 months ago
  • 0.0.0-canary.403f456.0                                ...           4 months ago
  • 0.0.0-canary.66cfac0.0                                ...           4 months ago
  • 0.0.0-canary.396f8bb.0                                ...           4 months ago
  • 0.0.0-canary.db655de.1                                ...           4 months ago
  • 0.0.0-canary.3b5ed2f.0                                ...           4 months ago
  • 0.0.0-canary.0a4669b.1                                ...           4 months ago
  • 0.0.0-canary.0a4669b.0                                ...           4 months ago
  • 0.0.0-canary.50aa07c.0                                ...           4 months ago
  • 0.0.0-canary.b0e5994.0                                ...           4 months ago
  • 0.0.0-canary.4cb9c2b.0                                ...           4 months ago
  • 0.0.0-canary.4c30d33.0                                ...           4 months ago
  • 0.0.0-canary.fbfd207.0                                ...           4 months ago
  • 0.0.0-canary.40eb0a5.1                                ...           4 months ago
  • 0.0.0-canary.40eb0a5.0                                ...           4 months ago
  • 0.0.0-canary.1ddabc1.1                                ...           4 months ago
  • 0.0.0-canary.1ddabc1.0                                ...           4 months ago
  • 0.0.0-canary.016f954.0                                ...           4 months ago
  • 0.0.0-canary.98adb08.0                                ...           4 months ago
  • 2.2.0                                ...           4 months ago
  • 0.0.0-canary.69d2497.1                                ...           4 months ago
  • 0.0.0-canary.69d2497.0                                ...           4 months ago
  • 0.0.0-canary.16ee004.0                                ...           4 months ago
  • 0.0.0-canary.5c3b351.0                                ...           4 months ago
  • 0.0.0-canary.3e2cc31.0                                ...           4 months ago
  • 0.0.0-canary.ed79452.0                                ...           5 months ago
  • 0.0.0-canary.407b8e4.0                                ...           5 months ago
  • 0.0.0-canary.95c0932.0                                ...           5 months ago
  • 0.0.0-canary.9ead018.0                                ...           5 months ago
  • 0.0.0-canary.39ab901.0                                ...           5 months ago
  • 0.0.0-canary.dd71bd7.0                                ...           5 months ago
  • 0.0.0-canary.72da76d.0                                ...           5 months ago
  • 0.0.0-canary.c8ccaac.1                                ...           5 months ago
  • 0.0.0-canary.c8ccaac.0                                ...           5 months ago
  • 0.0.0-canary.828cad5.0                                ...           5 months ago
  • 0.0.0-canary.0e20d81.0                                ...           5 months ago
  • 0.0.0-canary.b3c8777.0                                ...           5 months ago
  • 0.0.0-canary.a6b4883.0                                ...           5 months ago
  • 0.0.0-canary.a30510c.0                                ...           5 months ago
  • 0.0.0-canary.4fb7908.0                                ...           5 months ago
  • 2.1.0                                ...           5 months ago
  • 0.0.0-canary.63145f9.0                                ...           5 months ago
  • 0.0.0-canary.801e47f.0                                ...           5 months ago
  • 0.0.0-canary.d0b5703.0                                ...           5 months ago
  • 0.0.0-canary.d93b398.0                                ...           5 months ago
  • 0.0.0-canary.3703af8.1                                ...           5 months ago
  • 0.0.0-canary.3703af8.0                                ...           5 months ago
  • 0.0.0-canary.27245f3.0                                ...           5 months ago
  • 0.0.0-canary.51752cd.0                                ...           5 months ago
  • 0.0.0-canary.8ae44a5.1                                ...           5 months ago
  • 0.0.0-canary.8ae44a5.0                                ...           5 months ago
  • 0.0.0-canary.b7caf15.1                                ...           5 months ago
  • 0.0.0-canary.b7caf15.0                                ...           5 months ago
  • 0.0.0-canary.7cfc88b.0                                ...           5 months ago
  • 0.0.0-canary.0b1303b.0                                ...           5 months ago
  • 0.0.0-canary.8c0849b.0                                ...           5 months ago
  • 0.0.0-canary.c237758.0                                ...           5 months ago
  • 0.0.0-canary.2fcf0b5.1                                ...           5 months ago
  • 0.0.0-canary.2fcf0b5.0                                ...           5 months ago
  • 0.0.0-canary.1131efb.0                                ...           5 months ago
  • 0.0.0-canary.af0fe55.1                                ...           5 months ago
  • 0.0.0-canary.af0fe55.0                                ...           5 months ago
  • 0.0.0-canary.72a6835.0                                ...           5 months ago
  • 0.0.0-canary.4fb3fa6.1                                ...           5 months ago
  • 0.0.0-canary.4fb3fa6.0                                ...           5 months ago
  • 0.0.0-canary.43352f4.1                                ...           5 months ago
  • 0.0.0-canary.43352f4.0                                ...           5 months ago
  • 0.0.0-canary.9b5e4cf.0                                ...           5 months ago
  • 0.0.0-canary.d9a277c.0                                ...           5 months ago
  • 0.0.0-canary.2fb1140.0                                ...           5 months ago
  • 0.0.0-canary.5bf099f.0                                ...           5 months ago
  • 0.0.0-canary.4e310bc.0                                ...           5 months ago
  • 0.0.0-canary.fd5a750.0                                ...           5 months ago
  • 2.0.4                                ...           5 months ago
  • 0.0.0-canary.69ca4d0.0                                ...           5 months ago
  • 0.0.0-canary.b26bd4d.0                                ...           5 months ago
  • 0.0.0-canary.125012c.0                                ...           5 months ago
  • 2.0.3                                ...           5 months ago
  • 2.0.2                                ...           5 months ago
  • 2.0.1                                ...           6 months ago
  • 0.0.0-canary.872b547.0                                ...           6 months ago
  • 2.0.0                                ...           6 months ago
  • 0.0.0-canary.3811188.0                                ...           6 months ago
  • 0.0.0-canary.9941505.0                                ...           6 months ago
  • 0.0.0-canary.309a1d1.1                                ...           6 months ago
  • 0.0.0-canary.309a1d1.0                                ...           6 months ago
  • 1.19.0-0                                ...           6 months ago
  • 1.18.3                                ...           7 months ago
  • 1.18.2                                ...           7 months ago
  • 1.18.2-alpha.2                                ...           7 months ago
  • 1.18.3-0                                ...           8 months ago
  • 1.18.2-1                                ...           8 months ago
  • 1.18.2-0                                ...           8 months ago
  • 1.18.2-alpha.1                                ...           8 months ago
  • 1.18.1                                ...           8 months ago
  • 1.18.2-alpha.0                                ...           8 months ago
  • 1.18.0-debugging-1                                ...           8 months ago
  • 1.18.1-0                                ...           8 months ago
  • 1.18.0-debugging                                ...           8 months ago
  • 1.18.0                                ...           8 months ago
  • 1.18.0-alpha.3                                ...           8 months ago
  • 1.18.0-alpha.2                                ...           8 months ago
  • 1.18.0-alpha.1                                ...           9 months ago
  • 1.18.0-alpha.0                                ...           9 months ago
  • 1.17.0                                ...           9 months ago
  • 1.17.0-1                                ...           9 months ago
  • 1.17.0-0                                ...           9 months ago
  • 1.16.2-0                                ...           9 months ago
  • 1.16.1-0                                ...           9 months ago
  • 1.16.0                                ...           9 months ago
  • 1.16.0-2                                ...           9 months ago
  • 1.16.0-1                                ...           9 months ago
  • 1.16.0-0                                ...           9 months ago
  • 1.15.2-0                                ...           9 months ago
  • 1.15.1-1                                ...           10 months ago
  • 1.15.1                                ...           10 months ago
  • 1.15.1-0                                ...           10 months ago
  • 1.15.0                                ...           10 months ago
  • 1.15.0-0                                ...           10 months ago
  • 1.14.0                                ...           10 months ago
  • 1.14.1-beta.0                                ...           10 months ago
  • 1.13.1                                ...           a year ago
  • 1.13.0                                ...           a year ago
  • 1.13.0-beta.17                                ...           a year ago
  • 1.13.0-beta.16                                ...           a year ago
  • 1.13.0-beta.15                                ...           a year ago
  • 1.13.0-beta.14                                ...           a year ago
  • 1.13.0-beta.13                                ...           a year ago
  • 1.13.0-beta.12                                ...           a year ago
  • 1.13.0-beta.11                                ...           a year ago
  • 1.13.0-beta.10                                ...           a year ago
  • 1.13.0-beta.9                                ...           a year ago
  • 1.13.0-beta.8                                ...           a year ago
  • 1.13.0-beta.7                                ...           a year ago
  • 1.13.0-beta.6                                ...           a year ago
  • 1.13.0-beta.5                                ...           a year ago
  • 1.13.0-beta.4                                ...           a year ago
  • 1.13.0-beta.3                                ...           a year ago
  • 1.13.0-beta.2                                ...           a year ago
  • 1.13.0-beta.1                                ...           a year ago
  • 1.13.0-beta.0                                ...           a year ago
  • 1.12.1                                ...           a year ago
  • 1.12.1-0                                ...           a year ago
  • 1.12.0                                ...           a year ago
  • 1.12.0-0                                ...           a year ago
  • 1.11.5                                ...           a year ago
  • 1.11.4                                ...           a year ago
  • 1.11.3                                ...           a year ago
  • 1.11.2                                ...           a year ago
  • 1.11.1                                ...           a year ago
  • 1.11.0                                ...           a year ago
  • 1.11.0-1                                ...           a year ago
  • 1.11.0-0                                ...           a year ago
  • 1.10.4                                ...           a year ago
  • 1.10.3                                ...           a year ago
  • 1.10.4-2                                ...           a year ago
  • 1.10.4-1                                ...           a year ago
  • 1.10.4-0                                ...           a year ago
  • 1.10.3-0                                ...           a year ago
  • 1.10.2                                ...           a year ago
  • 1.10.1                                ...           a year ago
  • 1.10.0                                ...           a year ago
  • 1.9.1-2                                ...           a year ago
  • 1.9.1-1                                ...           a year ago
  • 1.9.0                                ...           a year ago
  • 1.9.0-beta.1                                ...           a year ago
  • 1.9.0-beta.0                                ...           a year ago
  • 1.8.5                                ...           a year ago
  • 1.8.5-0                                ...           a year ago
  • 1.8.4                                ...           a year ago
  • 1.8.4-beta.1                                ...           a year ago
  • 1.8.4-beta.0                                ...           a year ago
  • 1.8.3                                ...           a year ago
  • 1.8.2                                ...           a year ago
  • 1.8.1                                ...           a year ago
  • 1.8.0                                ...           a year ago
  • 1.7.2                                ...           a year ago
  • 1.7.1                                ...           a year ago
  • 1.7.0                                ...           a year ago
  • 1.6.4                                ...           a year ago
  • 1.6.3                                ...           a year ago
  • 1.6.2                                ...           a year ago
  • 1.7.0-alpha.3                                ...           a year ago
  • 1.7.0-alpha.2                                ...           a year ago
  • 1.7.0-alpha.1                                ...           a year ago
  • 1.7.0-alpha.0                                ...           a year ago
  • 1.6.0                                ...           2 years ago
  • 1.5.1                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.6                                ...           2 years ago
  • 1.3.5                                ...           2 years ago
  • 1.3.4                                ...           2 years ago
  • 1.3.3                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.3.2                                ...           2 years ago
  • 1.3.1                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.3.0-1                                ...           2 years ago
  • 1.3.0-0                                ...           2 years ago
  • 1.2.7                                ...           2 years ago
  • 1.2.6                                ...           2 years ago
  • 1.2.5                                ...           2 years ago
  • 1.2.4                                ...           2 years ago
  • 1.2.3                                ...           2 years ago
  • 1.2.2                                ...           2 years ago
  • 1.2.2-beta1                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.4-0                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.3-1                                ...           2 years ago
  • 1.0.3-0                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.3.4                                ...           2 years ago
  • 0.3.3                                ...           2 years ago
  • 0.3.2                                ...           2 years ago
  • 0.3.1                                ...           2 years ago
  • 0.2.9                                ...           2 years ago
  • 0.2.8                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.7                                ...           2 years ago
  • 0.2.6                                ...           2 years ago
  • 0.2.5                                ...           2 years ago
  • 0.2.4                                ...           2 years ago
  • 0.2.3                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.14                                ...           2 years ago
  • 0.1.13                                ...           2 years ago
  • 0.1.12                                ...           2 years ago
  • 0.1.11                                ...           2 years ago
  • 0.1.10                                ...           2 years ago
  • 0.1.9                                ...           2 years ago
  • 0.1.8                                ...           2 years ago
  • 0.1.4                                ...           2 years ago
  • 0.1.3                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.1-prealpha.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 438
This Week 438
This Month 921
Last Day 0
Last Week 468
Last Month 2,489

Copyright 2014 - 2016 © taobao.org |