Socket
Socket
Sign inDemoInstall

@vue/cli-service

Package Overview
Dependencies
43
Maintainers
1
Versions
165
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/cli-service


Version published
Weekly downloads
518K
decreased by-19.99%
Maintainers
1
Created
Weekly downloads
 

Package description

What is @vue/cli-service?

@vue/cli-service is a development dependency for Vue.js projects that provides a set of built-in tools and configurations to streamline the development, testing, and building of Vue applications. It abstracts away much of the configuration needed for Webpack, Babel, ESLint, and other tools, allowing developers to focus on writing code.

What are @vue/cli-service's main functionalities?

Project Creation

This command initializes a new Vue.js project with a default or custom configuration. It sets up the project structure, installs dependencies, and configures build tools.

vue create my-project

Development Server

This command starts a development server with hot-reload capabilities. It allows developers to see changes in real-time as they edit their code.

npm run serve

Production Build

This command compiles the Vue.js application into a production-ready bundle. It optimizes the code for performance and minimizes the output files.

npm run build

Unit Testing

This command runs unit tests using a testing framework like Jest or Mocha. It helps ensure that individual components and functions work as expected.

npm run test:unit

Linting

This command runs ESLint to check for code quality and style issues. It helps maintain a consistent codebase and catch potential errors early.

npm run lint

Other packages similar to @vue/cli-service

Changelog

Source

3.0.0-beta.10 (2018-05-11)

babel-preset-app

Features
  • babel: better Babel polyfill defaults (4e7d57f)

cli

Bug Fixes
  • ui: missing cross-env (eb9a604)
  • ui: New update available message adapted (1b77f51)
  • ui: removed builtin japan locale (77f0034)
  • ui: ui command: display URL (aa2783d)
Features

cli-plugin-eslint

Bug Fixes
  • ui: remove eslint disable comment (3b7f292)

cli-plugin-pwa

Bug Fixes
  • ui: App name prompt description (b6928a3)
  • pwa plugin compat with webpack 4 (6d1716e)
Code Refactoring

cli-plugin-typescript

Bug Fixes
Features
  • typescript: support lang="tsx" in vue files (718ba3c), closes #1219
  • relex transpile includes + new transpileDependencies option (da4d0b2)

cli-plugin-unit-jest

Code Refactoring

cli-service

Bug Fixes
  • build: fix --dest flag regression (fd9d255), closes #1193
  • serve: fix non-GET requests match error w/ multi-proxy config (c4c4bff), closes #1210
  • css imports from js (1b5bdde)
  • ensure dynamic publicPath is set early in lib/wc mode (c3d246f), closes #1253
  • improve error message when entry is missing w/ --target lib (8b4a112), closes #1051
  • respect chunk name in all build targets (66bab8c), closes #1251
Code Refactoring
Features
  • serve: support entry in vue-cli-service serve (05f9f3a), closes #974
  • expose env variables as root level in index.html template (4c5784d)
  • new option "preserveWhitespace" (ea83441)
  • remove DLL option (6d4e51d)
  • upgrade to vue-loader 15 (f5c0f58)
  • upgrade to webpack 4 (2dcdedd)
Reverts
  • feat: new option "preserveWhitespace"" (a8af883)

cli-ui

Bug Fixes
  • ui: bump fs-extra (adce5f0)
  • ui: client addon config (086b714)
  • ui: CSS fixes (5b5d754)
  • ui: display tooltip on config list items in case description is too long (a55cec7)
  • ui: don't save loader results into cache (3208844)
  • ui: eslint errors (3433658)
  • ui: merge locales (ae552a9)
  • ui: missing log (c135782)
  • ui: moved watch to deps (013a903)
  • ui: open project: check if folder exists (0e8e0ce)
  • ui: project create change folder not working in Firefox (2927095)
  • ui: ProjectNav wide style tweaks (3589818)
  • ui: ProjectNavButton bullet position in wide mode (9a852d6)
  • ui: ProjectNavMore wide (28558ea)
  • ui: remove unused script (4f3337d)
  • ui: unhandled auto project open error (5b232f9)
  • ui: unset last opened project if it is removed (29e2d76)
  • ui: use fs-extra instead of mkdirp (8915a6f)
  • ui: wide project nav buttons alignment (855cbea)
Features
  • ui: config more info button (98f6a16)
  • ui: db click on task to run (104aba2)
  • ui: dev: auto reload locales (86c9674)
  • ui: ItemLogo recognize images in 'icon' field (9898dc0)
  • ui: PWA config + ESLint extra config (2eac8ff)
  • ui: localize report bug button (f32222f)
  • ui: plugin locales (a66dabb)
  • ui: ShareData two-way sync + watchSharedData + storage API + dev logs (4cb15f3)

cli-ui-addon-webpack

Bug Fixes

docs

Features

BREAKING CHANGES

  • css.modules option has been removed. To import css files (or any other supported pre-processor files) as CSS Modules, append the request with a ?module resourceQuery.
  • Upgrade wepback 4, all webpack option modifications must be webpcak 4 compatible. Drop support for webpack plugins that do not work with v4 or above.
  • dll option has been removed.
  • the "vueLoader" option has been removed. To modify vue-loader options, use chainWebpack then config.module.rule(vue).use(vue-loader).tap(). vue-loader has been upgraded to v15 and expects different options from v14.
  • To include a dependency for Babel transpilation, tapping babel-loader and adding .include() will no longer work. Use the new transpileDependencies option instead.
  • cli-plugin-unit-jest and cli-plugin-unit-mocha now register "test:unit" command and script instead of "test"; cli-plugin-e2e-cypress now register "test:e2e" with optional --headless flag instead of "e2e" and "e2e:open"; cli-plugin-e2e-nightwatch now register "test:e2e" instead of "e2e".
  • PluginAPI.setMode() has been removed. Instead, for a plugin to sepcify the default mode for a registered command, the plugins should expose module.exports.defaultModes in the form of { [commandName]: mode }.
  • @vue/cli-service and all plugins now require Node version 8+.

Readme

Source

@vue/cli-service

service for vue-cli

Full Docs

Keywords

FAQs

Last updated on 11 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc