This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

vue-cli-launcher

1.1.0 • Public • Published

vue-cli-launcher

🚀 Vue CLI with extra options

Installation

Requires @vue/cli-service to be installed.

npm install vue-cli-launcher --save-dev

Usage

Accepts exactly the same arguments as @vue/cli-service plus additional options.

vue-cli-launcher serve --open --package-json-path=application/package.json

Bazel

As the original motivation for creating this package was to tackle issues outlined in bazelbuild/rules_nodejs#1776 and vuejs/vue-cli#3152, here is an example of corresponding Bazel targets.

load("@npm//vue-cli-launcher:index.bzl", "vue_cli_launcher")
 
vue_cli_launcher(
  name = "serve",
  args = [
    "serve",
    "--package-json-path=$(rootpath package.json)",
  ],
  data = [
    "package.json",
    ...
  ],
)
 
vue_cli_launcher(
  name = "build",
  args = [
    "build",
    "--dest=$(@D)",
    "--resolve-dest-by-cwd",
    "--package-json-path=$(execpath package.json)",
  ],
  data = [
    "package.json",
    ...
  ],
  output_dir = True,
)

Options

--package-json-path    Path to package.json of the project. Can be either absolute
                       or relative to the current directory.
--resolve-dest-by-cwd  Base `--dest` resolution on the current directory rather than
                       on the directory containing package.json of the project.

Readme

Keywords

Package Sidebar

Install

npm i vue-cli-launcher

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

2.98 kB

Total Files

3

Last publish

Collaborators

  • dubov94