使用命令行工具npm新创建一个vue项目的方法

Vue.js 提供一个官方命令行工具,可用于快速搭建大型单页应用。该工具提供开箱即用的构建工具配置,带来现代化的前端开发流程。

只需几分钟即可创建并启动一个带热重载、保存时静态检查以及可用于生产环境的构建配置的项目:

# 全局安装 vue-cli
$ npm install --global vue-cli
# 创建一个基于 webpack 模板的新项目
$ vue init webpack my-project
$ vue init webpack test   //输入命令
? Project name (test) test
? Project name test
? Project description (A Vue.js project) 测试项目
? Project description 测试项目
? Author lxx1024
? Author lxx1024
? Vue build standalone
? Install vue-router? (Y/n) Y   //安装路由
? Install vue-router? Yes
? Use ESLint to lint your code? (Y/n) n    //Eslint验证,很严谨,所以选择n
? Use ESLint to lint your code? No
? Setup unit tests with Karma + Mocha? (Y/n) Y
? Setup unit tests with Karma + Mocha? Yes
? Setup e2e tests with Nightwatch? (Y/n) Y
? Setup e2e tests with Nightwatch? Yes
  vue-cli · Generated "test".
  To get started:
   cd test
   npm install
   npm run dev
  Documentation can be found at https://vuejs-templates.github.io/webpack
# 安装依赖,走你
$ cd my-project
$ npm install
$ npm run dev  //运行项目
> npm install
> phantomjs-prebuilt@2.1.15 install C:\Users\81487\Desktop\test\node_modules\phantomjs-prebuilt
> node install.js
PhantomJS not found on PATH
Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-windows.zip
Saving to C:\Users\81487\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip
Receiving...
Error making request.
Error: connect ETIMEDOUT 54.231.81.168:443
  at Object.exports._errnoException (util.js:1020:11)
  at exports._exceptionWithHostPort (util.js:1043:20)
  at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)
Please report this full log at https://github.com/Medium/phantomjs
test@1.0.0 C:\Users\81487\Desktop\test
+-- autoprefixer@7.1.5
| +-- browserslist@2.5.1
| | `-- electron-to-chromium@1.3.26
| +-- caniuse-lite@1.0.30000746
| +-- normalize-range@0.1.2
| +-- num2fraction@1.2.2
| +-- postcss@6.0.13
| `-- postcss-value-parser@3.3.0
+-- babel-core@6.26.0
| +-- babel-code-frame@6.26.0
| | +-- chalk@1.1.3
| | | +-- ansi-styles@2.2.1
| | | `-- supports-color@2.0.0
| | +-- esutils@2.0.2
| | `-- js-tokens@3.0.2
| +-- babel-generator@6.26.0
| | +-- detect-indent@4.0.0
| | | `-- repeating@2.0.1
| | |  `-- is-finite@1.0.2
| | |   `-- number-is-nan@1.0.1
| | +-- jsesc@1.3.0
| | +-- source-map@0.5.7
| | `-- trim-right@1.0.1
| +-- babel-helpers@6.24.1
| +-- babel-messages@6.23.0
| +-- babel-runtime@6.26.0
| | `-- regenerator-runtime@0.11.0
| +-- babel-template@6.26.0
| +-- babel-traverse@6.26.0
| | `-- globals@9.18.0
| +-- babel-types@6.26.0
| | `-- to-fast-properties@1.0.3
| +-- babylon@6.18.0
| +-- convert-source-map@1.5.0
| +-- debug@2.6.9
| | `-- ms@2.0.0
| +-- json5@0.5.1
| +-- lodash@4.17.4
| +-- minimatch@3.0.4
| | `-- brace-expansion@1.1.8
| |  +-- balanced-match@1.0.0
| |  `-- concat-map@0.0.1
| +-- path-is-absolute@1.0.1
| +-- private@0.1.7
| +-- slash@1.0.0
| `-- source-map@0.5.7
+-- babel-loader@7.1.2
| +-- find-cache-dir@1.0.0
| | +-- commondir@1.0.1
| | +-- make-dir@1.0.0
| | | `-- pify@2.3.0
| | `-- pkg-dir@2.0.0
| +-- loader-utils@1.1.0
| | +-- big.js@3.2.0
| | `-- emojis-list@2.1.0
| `-- mkdirp@0.5.1
|  `-- minimist@0.0.8
+-- babel-plugin-istanbul@4.1.5
| +-- find-up@2.1.0
| | `-- locate-path@2.0.0
| |  +-- p-locate@2.0.0
| |  | `-- p-limit@1.1.0
| |  `-- path-exists@3.0.0
| +-- istanbul-lib-instrument@1.8.0
| | `-- istanbul-lib-coverage@1.1.1
| `-- test-exclude@4.1.1
|  +-- arrify@1.0.1
|  +-- read-pkg-up@1.0.1
|  | +-- find-up@1.1.2
|  | | +-- path-exists@2.1.0
|  | | `-- pinkie-promise@2.0.1
|  | |  `-- pinkie@2.0.4
|  | `-- read-pkg@1.1.0
|  |  +-- load-json-file@1.1.0
|  |  | `-- strip-bom@2.0.0
|  |  |  `-- is-utf8@0.2.1
|  |  `-- path-type@1.1.0
|  `-- require-main-filename@1.0.1
+-- babel-plugin-transform-runtime@6.23.0
+-- babel-preset-env@1.6.0
| +-- babel-plugin-check-es2015-constants@6.22.0
| +-- babel-plugin-syntax-trailing-function-commas@6.22.0
| +-- babel-plugin-transform-async-to-generator@6.24.1
| | +-- babel-helper-remap-async-to-generator@6.24.1
| | `-- babel-plugin-syntax-async-functions@6.13.0
| +-- babel-plugin-transform-es2015-arrow-functions@6.22.0
| +-- babel-plugin-transform-es2015-block-scoped-functions@6.22.0
| +-- babel-plugin-transform-es2015-block-scoping@6.26.0
| +-- babel-plugin-transform-es2015-classes@6.24.1
| | +-- babel-helper-define-map@6.26.0
| | +-- babel-helper-function-name@6.24.1
| | +-- babel-helper-optimise-call-expression@6.24.1
| | `-- babel-helper-replace-supers@6.24.1
| +-- babel-plugin-transform-es2015-computed-properties@6.24.1
| +-- babel-plugin-transform-es2015-destructuring@6.23.0
| +-- babel-plugin-transform-es2015-duplicate-keys@6.24.1
| +-- babel-plugin-transform-es2015-for-of@6.23.0
| +-- babel-plugin-transform-es2015-function-name@6.24.1
| +-- babel-plugin-transform-es2015-literals@6.22.0
| +-- babel-plugin-transform-es2015-modules-amd@6.24.1
| +-- babel-plugin-transform-es2015-modules-commonjs@6.26.0
| | `-- babel-plugin-transform-strict-mode@6.24.1
| +-- babel-plugin-transform-es2015-modules-systemjs@6.24.1
| | `-- babel-helper-hoist-variables@6.24.1
| +-- babel-plugin-transform-es2015-modules-umd@6.24.1
| +-- babel-plugin-transform-es2015-object-super@6.24.1
| +-- babel-plugin-transform-es2015-parameters@6.24.1
| | +-- babel-helper-call-delegate@6.24.1
| | `-- babel-helper-get-function-arity@6.24.1
| +-- babel-plugin-transform-es2015-shorthand-properties@6.24.1
| +-- babel-plugin-transform-es2015-spread@6.22.0
| +-- babel-plugin-transform-es2015-sticky-regex@6.24.1
| | `-- babel-helper-regex@6.26.0
| +-- babel-plugin-transform-es2015-template-literals@6.22.0
| +-- babel-plugin-transform-es2015-typeof-symbol@6.23.0
| +-- babel-plugin-transform-es2015-unicode-regex@6.24.1
| | `-- regexpu-core@2.0.0
| |  +-- regenerate@1.3.3
| |  +-- regjsgen@0.2.0
| |  `-- regjsparser@0.1.5
| |   `-- jsesc@0.5.0
| +-- babel-plugin-transform-exponentiation-operator@6.24.1
| | +-- babel-helper-builder-binary-assignment-operator-visitor@6.24.1
| | | `-- babel-helper-explode-assignable-expression@6.24.1
| | `-- babel-plugin-syntax-exponentiation-operator@6.13.0
| +-- babel-plugin-transform-regenerator@6.26.0
| | `-- regenerator-transform@0.10.1
| `-- invariant@2.2.2
|  `-- loose-envify@1.3.1
+-- babel-preset-stage-2@6.24.1
| +-- babel-plugin-syntax-dynamic-import@6.18.0
| +-- babel-plugin-transform-class-properties@6.24.1
| | `-- babel-plugin-syntax-class-properties@6.13.0
| +-- babel-plugin-transform-decorators@6.24.1
| | +-- babel-helper-explode-class@6.24.1
| | | `-- babel-helper-bindify-decorators@6.24.1
| | `-- babel-plugin-syntax-decorators@6.13.0
| `-- babel-preset-stage-3@6.24.1
|  +-- babel-plugin-transform-async-generator-functions@6.24.1
|  | `-- babel-plugin-syntax-async-generators@6.13.0
|  `-- babel-plugin-transform-object-rest-spread@6.26.0
|   `-- babel-plugin-syntax-object-rest-spread@6.13.0
+-- babel-register@6.26.0
| +-- core-js@2.5.1
| +-- home-or-tmp@2.0.0
| | +-- os-homedir@1.0.2
| | `-- os-tmpdir@1.0.2
| `-- source-map-support@0.4.18
|  `-- source-map@0.5.7
+-- chai@4.1.2
| +-- assertion-error@1.0.2
| +-- check-error@1.0.2
| +-- deep-eql@3.0.1
| +-- get-func-name@2.0.0
| +-- pathval@1.1.0
| `-- type-detect@4.0.3
+-- chalk@2.1.0
| +-- ansi-styles@3.2.0
| | `-- color-convert@1.9.0
| |  `-- color-name@1.1.3
| +-- escape-string-regexp@1.0.5
| `-- supports-color@4.4.0
|  `-- has-flag@2.0.0
+-- chromedriver@2.33.1
| +-- extract-zip@1.6.5
| | +-- concat-stream@1.6.0
| | | `-- typedarray@0.0.6
| | +-- debug@2.2.0
| | | `-- ms@0.7.1
| | +-- mkdirp@0.5.0
| | `-- yauzl@2.4.1
| |  `-- fd-slicer@1.0.1
| |   `-- pend@1.2.0
| +-- kew@0.7.0
| `-- request@2.83.0
|  +-- aws-sign2@0.7.0
|  +-- aws4@1.6.0
|  +-- caseless@0.12.0
|  +-- combined-stream@1.0.5
|  | `-- delayed-stream@1.0.0
|  +-- extend@3.0.1
|  +-- forever-agent@0.6.1
|  +-- form-data@2.3.1
|  | `-- asynckit@0.4.0
|  +-- har-validator@5.0.3
|  | `-- har-schema@2.0.0
|  +-- hawk@6.0.2
|  | +-- boom@4.3.1
|  | +-- cryptiles@3.1.2
|  | | `-- boom@5.2.0
|  | +-- hoek@4.2.0
|  | `-- sntp@2.0.2
|  +-- http-signature@1.2.0
|  | +-- assert-plus@1.0.0
|  | +-- jsprim@1.4.1
|  | | +-- extsprintf@1.3.0
|  | | +-- json-schema@0.2.3
|  | | `-- verror@1.10.0
|  | `-- sshpk@1.13.1
|  |  +-- asn1@0.2.3
|  |  +-- bcrypt-pbkdf@1.0.1
|  |  +-- dashdash@1.14.1
|  |  +-- ecc-jsbn@0.1.1
|  |  +-- getpass@0.1.7
|  |  +-- jsbn@0.1.1
|  |  `-- tweetnacl@0.14.5
|  +-- is-typedarray@1.0.0
|  +-- isstream@0.1.2
|  +-- json-stringify-safe@5.0.1
|  +-- mime-types@2.1.17
|  | `-- mime-db@1.30.0
|  +-- oauth-sign@0.8.2
|  +-- performance-now@2.1.0
|  +-- stringstream@0.0.5
|  +-- tough-cookie@2.3.3
|  +-- tunnel-agent@0.6.0
|  `-- uuid@3.1.0
+-- connect-history-api-fallback@1.3.0
+-- copy-webpack-plugin@4.1.1
| +-- bluebird@3.5.1
| +-- fs-extra@4.0.2
| | +-- jsonfile@4.0.0
| | `-- universalify@0.1.1
| +-- glob@7.1.2
| | +-- fs.realpath@1.0.0
| | +-- inflight@1.0.6
| | | `-- wrappy@1.0.2
| | +-- inherits@2.0.3
| | `-- once@1.4.0
| +-- is-glob@4.0.0
| | `-- is-extglob@2.1.1
| +-- loader-utils@0.2.17
| `-- node-dir@0.1.17
+-- cross-env@5.0.5
| `-- is-windows@1.0.1
+-- cross-spawn@5.1.0
| +-- lru-cache@4.1.1
| | +-- pseudomap@1.0.2
| | `-- yallist@2.1.2
| +-- shebang-command@1.2.0
| | `-- shebang-regex@1.0.0
| `-- which@1.3.0
|  `-- isexe@2.0.0
+-- css-loader@0.28.7
| +-- css-selector-tokenizer@0.7.0
| | +-- cssesc@0.1.0
| | +-- fastparse@1.1.1
| | `-- regexpu-core@1.0.0
| +-- cssnano@3.10.0
| | +-- autoprefixer@6.7.7
| | | +-- browserslist@1.7.7
| | | `-- caniuse-db@1.0.30000746
| | +-- decamelize@1.2.0
| | +-- defined@1.0.0
| | +-- has@1.0.1
| | | `-- function-bind@1.1.1
| | +-- postcss@5.2.18
| | | +-- chalk@1.1.3
| | | | +-- ansi-styles@2.2.1
| | | | `-- supports-color@2.0.0
| | | +-- source-map@0.5.7
| | | `-- supports-color@3.2.3
| | |  `-- has-flag@1.0.0
| | +-- postcss-calc@5.3.1
| | | +-- postcss@5.2.18
| | | | +-- chalk@1.1.3
| | | | | +-- ansi-styles@2.2.1
| | | | | `-- supports-color@2.0.0
| | | | +-- source-map@0.5.7
| | | | `-- supports-color@3.2.3
| | | |  `-- has-flag@1.0.0
| | | +-- postcss-message-helpers@2.0.0
| | | `-- reduce-css-calc@1.3.0
| | |  +-- balanced-match@0.4.2
| | |  +-- math-expression-evaluator@1.2.17
| | |  `-- reduce-function-call@1.0.2
| | |   `-- balanced-match@0.4.2
| | +-- postcss-colormin@2.2.2
| | | +-- colormin@1.1.2
| | | | +-- color@0.11.4
| | | | | +-- clone@1.0.2
| | | | | `-- color-string@0.3.0
| | | | `-- css-color-names@0.0.4
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-convert-values@2.6.1
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-discard-comments@2.0.4
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-discard-duplicates@2.1.0
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-discard-empty@2.1.0
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-discard-overridden@0.1.1
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-discard-unused@2.2.3
| | | +-- postcss@5.2.18
| | | | +-- chalk@1.1.3
| | | | | +-- ansi-styles@2.2.1
| | | | | `-- supports-color@2.0.0
| | | | +-- source-map@0.5.7
| | | | `-- supports-color@3.2.3
| | | |  `-- has-flag@1.0.0
| | | `-- uniqs@2.0.0
| | +-- postcss-filter-plugins@2.0.2
| | | +-- postcss@5.2.18
| | | | +-- chalk@1.1.3
| | | | | +-- ansi-styles@2.2.1
| | | | | `-- supports-color@2.0.0
| | | | +-- source-map@0.5.7
| | | | `-- supports-color@3.2.3
| | | |  `-- has-flag@1.0.0
| | | `-- uniqid@4.1.1
| | |  `-- macaddress@0.2.8
| | +-- postcss-merge-idents@2.1.7
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-merge-longhand@2.0.2
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-merge-rules@2.1.2
| | | +-- browserslist@1.7.7
| | | +-- caniuse-api@1.6.1
| | | | +-- browserslist@1.7.7
| | | | +-- lodash.memoize@4.1.2
| | | | `-- lodash.uniq@4.5.0
| | | +-- postcss@5.2.18
| | | | +-- chalk@1.1.3
| | | | | +-- ansi-styles@2.2.1
| | | | | `-- supports-color@2.0.0
| | | | +-- source-map@0.5.7
| | | | `-- supports-color@3.2.3
| | | |  `-- has-flag@1.0.0
| | | `-- vendors@1.0.1
| | +-- postcss-minify-font-values@1.0.5
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-minify-gradients@1.0.5
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-minify-params@1.2.2
| | | +-- alphanum-sort@1.0.2
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-minify-selectors@2.1.1
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-normalize-charset@1.1.1
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-normalize-url@3.0.8
| | | +-- is-absolute-url@2.1.0
| | | +-- normalize-url@1.9.1
| | | | +-- prepend-http@1.0.4
| | | | +-- query-string@4.3.4
| | | | | `-- strict-uri-encode@1.1.0
| | | | `-- sort-keys@1.1.2
| | | |  `-- is-plain-obj@1.1.0
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-ordered-values@2.2.3
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-reduce-idents@2.4.0
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-reduce-initial@1.0.1
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-reduce-transforms@1.0.4
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | +-- postcss-svgo@2.1.6
| | | +-- is-svg@2.1.0
| | | | `-- html-comment-regex@1.1.1
| | | +-- postcss@5.2.18
| | | | +-- chalk@1.1.3
| | | | | +-- ansi-styles@2.2.1
| | | | | `-- supports-color@2.0.0
| | | | +-- source-map@0.5.7
| | | | `-- supports-color@3.2.3
| | | |  `-- has-flag@1.0.0
| | | `-- svgo@0.7.2
| | |  +-- coa@1.0.4
| | |  | `-- q@1.5.0
| | |  +-- csso@2.3.2
| | |  | +-- clap@1.2.3
| | |  | | `-- chalk@1.1.3
| | |  | |  +-- ansi-styles@2.2.1
| | |  | |  `-- supports-color@2.0.0
| | |  | `-- source-map@0.5.7
| | |  +-- sax@1.2.4
| | |  `-- whet.extend@0.9.9
| | +-- postcss-unique-selectors@2.0.2
| | | `-- postcss@5.2.18
| | |  +-- chalk@1.1.3
| | |  | +-- ansi-styles@2.2.1
| | |  | `-- supports-color@2.0.0
| | |  +-- source-map@0.5.7
| | |  `-- supports-color@3.2.3
| | |   `-- has-flag@1.0.0
| | `-- postcss-zindex@2.2.0
| |  `-- postcss@5.2.18
| |   +-- chalk@1.1.3
| |   | +-- ansi-styles@2.2.1
| |   | `-- supports-color@2.0.0
| |   +-- source-map@0.5.7
| |   `-- supports-color@3.2.3
| |    `-- has-flag@1.0.0
| +-- icss-utils@2.1.0
| +-- lodash.camelcase@4.3.0
| +-- object-assign@4.1.1
| +-- postcss@5.2.18
| | +-- chalk@1.1.3
| | | +-- ansi-styles@2.2.1
| | | `-- supports-color@2.0.0
| | +-- js-base64@2.3.2
| | +-- source-map@0.5.7
| | `-- supports-color@3.2.3
| |  `-- has-flag@1.0.0
| +-- postcss-modules-extract-imports@1.1.0
| +-- postcss-modules-local-by-default@1.2.0
| +-- postcss-modules-scope@1.1.0
| +-- postcss-modules-values@1.3.0
| | `-- icss-replace-symbols@1.1.0
| `-- source-list-map@2.0.0
+-- eventsource-polyfill@0.9.6
+-- express@4.16.2
| +-- accepts@1.3.4
| | `-- negotiator@0.6.1
| +-- array-flatten@1.1.1
| +-- body-parser@1.18.2
| | +-- bytes@3.0.0
| | +-- http-errors@1.6.2
| | | `-- setprototypeof@1.0.3
| | +-- iconv-lite@0.4.19
| | `-- raw-body@2.3.2
| +-- content-disposition@0.5.2
| +-- content-type@1.0.4
| +-- cookie@0.3.1
| +-- cookie-signature@1.0.6
| +-- depd@1.1.1
| +-- encodeurl@1.0.1
| +-- escape-html@1.0.3
| +-- etag@1.8.1
| +-- finalhandler@1.1.0
| | `-- unpipe@1.0.0
| +-- fresh@0.5.2
| +-- merge-descriptors@1.0.1
| +-- methods@1.1.2
| +-- on-finished@2.3.0
| | `-- ee-first@1.1.1
| +-- parseurl@1.3.2
| +-- path-to-regexp@0.1.7
| +-- proxy-addr@2.0.2
| | +-- forwarded@0.1.2
| | `-- ipaddr.js@1.5.2
| +-- qs@6.5.1
| +-- range-parser@1.2.0
| +-- safe-buffer@5.1.1
| +-- send@0.16.1
| | `-- destroy@1.0.4
| +-- serve-static@1.13.1
| +-- setprototypeof@1.1.0
| +-- statuses@1.3.1
| +-- type-is@1.6.15
| | `-- media-typer@0.3.0
| +-- utils-merge@1.0.1
| `-- vary@1.1.2
+-- extract-text-webpack-plugin@3.0.1
| +-- async@2.5.0
| +-- schema-utils@0.3.0
| `-- webpack-sources@1.0.1
|  `-- source-map@0.5.7
+-- file-loader@1.1.5
+-- friendly-errors-webpack-plugin@1.6.1
| +-- chalk@1.1.3
| | +-- ansi-styles@2.2.1
| | +-- has-ansi@2.0.0
| | `-- supports-color@2.0.0
| +-- error-stack-parser@2.0.1
| | `-- stackframe@1.0.4
| `-- string-length@1.0.1
+-- html-webpack-plugin@2.30.1
| +-- html-minifier@3.5.5
| | +-- camel-case@3.0.0
| | | +-- no-case@2.3.2
| | | | `-- lower-case@1.1.4
| | | `-- upper-case@1.1.3
| | +-- clean-css@4.1.9
| | | `-- source-map@0.5.7
| | +-- ncname@1.0.0
| | | `-- xml-char-classes@1.0.0
| | +-- param-case@2.1.1
| | +-- relateurl@0.2.7
| | `-- uglify-js@3.1.3
| |  `-- source-map@0.5.7
| +-- loader-utils@0.2.17
| +-- pretty-error@2.1.1
| | +-- renderkid@2.0.1
| | | +-- css-select@1.2.0
| | | | +-- boolbase@1.0.0
| | | | +-- css-what@2.1.0
| | | | +-- domutils@1.5.1
| | | | | `-- dom-serializer@0.1.0
| | | | |  +-- domelementtype@1.1.3
| | | | |  `-- entities@1.1.1
| | | | `-- nth-check@1.0.1
| | | +-- dom-converter@0.1.4
| | | | `-- utila@0.3.3
| | | +-- htmlparser2@3.3.0
| | | | +-- domelementtype@1.3.0
| | | | +-- domhandler@2.1.0
| | | | +-- domutils@1.1.6
| | | | `-- readable-stream@1.0.34
| | | |  +-- isarray@0.0.1
| | | |  `-- string_decoder@0.10.31
| | | `-- utila@0.3.3
| | `-- utila@0.4.0
| `-- toposort@1.0.6
+-- http-proxy-middleware@0.17.4
| +-- http-proxy@1.16.2
| | +-- eventemitter3@1.2.0
| | `-- requires-port@1.0.0
| +-- is-glob@3.1.0
| | `-- is-extglob@2.1.1
| `-- micromatch@2.3.11
|  +-- arr-diff@2.0.0
|  | `-- arr-flatten@1.1.0
|  +-- array-unique@0.2.1
|  +-- braces@1.8.5
|  | +-- expand-range@1.8.2
|  | | `-- fill-range@2.2.3
|  | |  +-- is-number@2.1.0
|  | |  +-- isobject@2.1.0
|  | |  +-- randomatic@1.1.7
|  | |  | +-- is-number@3.0.0
|  | |  | | `-- kind-of@3.2.2
|  | |  | `-- kind-of@4.0.0
|  | |  `-- repeat-string@1.6.1
|  | +-- preserve@0.2.0
|  | `-- repeat-element@1.1.2
|  +-- expand-brackets@0.1.5
|  | `-- is-posix-bracket@0.1.1
|  +-- extglob@0.3.2
|  +-- filename-regex@2.0.1
|  +-- is-extglob@1.0.0
|  +-- is-glob@2.0.1
|  +-- kind-of@3.2.2
|  | `-- is-buffer@1.1.5
|  +-- normalize-path@2.1.1
|  | `-- remove-trailing-separator@1.1.0
|  +-- object.omit@2.0.1
|  | +-- for-own@0.1.5
|  | | `-- for-in@1.0.2
|  | `-- is-extendable@0.1.1
|  +-- parse-glob@3.0.4
|  | +-- glob-base@0.3.0
|  | `-- is-dotfile@1.0.3
|  `-- regex-cache@0.4.4
|   `-- is-equal-shallow@0.1.3
|    `-- is-primitive@2.0.0
+-- inject-loader@3.0.1
+-- karma@1.7.1
| +-- chokidar@1.7.0
| | +-- anymatch@1.3.2
| | +-- async-each@1.0.1
| | +-- glob-parent@2.0.0
| | +-- is-binary-path@1.0.1
| | | `-- binary-extensions@1.10.0
| | `-- readdirp@2.1.0
| |  `-- set-immediate-shim@1.0.1
| +-- colors@1.1.2
| +-- combine-lists@1.0.1
| +-- connect@3.6.5
| | `-- finalhandler@1.0.6
| +-- di@0.0.1
| +-- dom-serialize@2.2.1
| | +-- custom-event@1.0.1
| | +-- ent@2.2.0
| | `-- void-elements@2.0.1
| +-- expand-braces@0.1.2
| | +-- array-slice@0.2.3
| | `-- braces@0.1.5
| |  `-- expand-range@0.1.1
| |   +-- is-number@0.1.1
| |   `-- repeat-string@0.2.2
| +-- graceful-fs@4.1.11
| +-- isbinaryfile@3.0.2
| +-- lodash@3.10.1
| +-- log4js@0.6.38
| | +-- readable-stream@1.0.34
| | | +-- core-util-is@1.0.2
| | | +-- isarray@0.0.1
| | | `-- string_decoder@0.10.31
| | `-- semver@4.3.6
| +-- mime@1.4.1
| +-- optimist@0.6.1
| | `-- wordwrap@0.0.3
| +-- qjobs@1.1.5
| +-- socket.io@1.7.3
| | +-- debug@2.3.3
| | | `-- ms@0.7.2
| | +-- engine.io@1.8.3
| | | +-- accepts@1.3.3
| | | +-- base64id@1.0.0
| | | +-- debug@2.3.3
| | | | `-- ms@0.7.2
| | | +-- engine.io-parser@1.3.2
| | | | +-- after@0.8.2
| | | | +-- arraybuffer.slice@0.0.6
| | | | +-- base64-arraybuffer@0.1.5
| | | | +-- blob@0.0.4
| | | | `-- wtf-8@1.0.0
| | | `-- ws@1.1.2
| | |  +-- options@0.0.6
| | |  `-- ultron@1.0.2
| | +-- has-binary@0.1.7
| | | `-- isarray@0.0.1
| | +-- object-assign@4.1.0
| | +-- socket.io-adapter@0.5.0
| | | `-- debug@2.3.3
| | |  `-- ms@0.7.2
| | +-- socket.io-client@1.7.3
| | | +-- backo2@1.0.2
| | | +-- component-bind@1.0.0
| | | +-- component-emitter@1.2.1
| | | +-- debug@2.3.3
| | | | `-- ms@0.7.2
| | | +-- engine.io-client@1.8.3
| | | | +-- component-emitter@1.2.1
| | | | +-- component-inherit@0.0.3
| | | | +-- debug@2.3.3
| | | | | `-- ms@0.7.2
| | | | +-- has-cors@1.1.0
| | | | +-- parsejson@0.0.3
| | | | +-- parseqs@0.0.5
| | | | +-- xmlhttprequest-ssl@1.5.3
| | | | `-- yeast@0.1.2
| | | +-- indexof@0.0.1
| | | +-- object-component@0.0.3
| | | +-- parseuri@0.0.5
| | | | `-- better-assert@1.0.2
| | | |  `-- callsite@1.0.0
| | | `-- to-array@0.1.4
| | `-- socket.io-parser@2.3.1
| |  +-- component-emitter@1.1.2
| |  +-- debug@2.2.0
| |  | `-- ms@0.7.1
| |  `-- isarray@0.0.1
| +-- source-map@0.5.7
| +-- tmp@0.0.31
| `-- useragent@2.2.1
|  `-- lru-cache@2.2.4
+-- karma-coverage@1.1.1
| +-- dateformat@1.0.12
| | +-- get-stdin@4.0.1
| | `-- meow@3.7.0
| |  +-- camelcase-keys@2.1.0
| |  | `-- camelcase@2.1.1
| |  +-- loud-rejection@1.6.0
| |  | `-- currently-unhandled@0.4.1
| |  |  `-- array-find-index@1.0.2
| |  +-- map-obj@1.0.1
| |  +-- minimist@1.2.0
| |  +-- normalize-package-data@2.4.0
| |  | +-- hosted-git-info@2.5.0
| |  | +-- is-builtin-module@1.0.0
| |  | | `-- builtin-modules@1.1.1
| |  | `-- validate-npm-package-license@3.0.1
| |  |  +-- spdx-correct@1.0.2
| |  |  | `-- spdx-license-ids@1.2.2
| |  |  `-- spdx-expression-parse@1.0.4
| |  +-- redent@1.0.0
| |  | +-- indent-string@2.1.0
| |  | `-- strip-indent@1.0.1
| |  `-- trim-newlines@1.0.0
| +-- istanbul@0.4.5
| | +-- abbrev@1.0.9
| | +-- async@1.5.2
| | +-- escodegen@1.8.1
| | | +-- estraverse@1.9.3
| | | +-- optionator@0.8.2
| | | | +-- deep-is@0.1.3
| | | | +-- fast-levenshtein@2.0.6
| | | | +-- levn@0.3.0
| | | | +-- prelude-ls@1.1.2
| | | | +-- type-check@0.3.2
| | | | `-- wordwrap@1.0.0
| | | `-- source-map@0.2.0
| | +-- esprima@2.7.3
| | +-- glob@5.0.15
| | +-- handlebars@4.0.10
| | | +-- async@1.5.2
| | | +-- source-map@0.4.4
| | | `-- uglify-js@2.8.29
| | |  `-- source-map@0.5.7
| | +-- js-yaml@3.7.0
| | | `-- argparse@1.0.9
| | |  `-- sprintf-js@1.0.3
| | +-- nopt@3.0.6
| | +-- resolve@1.1.7
| | +-- supports-color@3.2.3
| | | `-- has-flag@1.0.0
| | `-- wordwrap@1.0.0
| +-- lodash@3.10.1
| `-- source-map@0.5.7
+-- karma-mocha@1.3.0
| `-- minimist@1.2.0
+-- karma-phantomjs-shim@1.5.0
+-- karma-sinon-chai@1.3.2
| `-- lolex@1.6.0
+-- karma-sourcemap-loader@0.3.7
+-- karma-spec-reporter@0.0.31
+-- karma-webpack@2.0.5
| +-- async@0.9.2
| +-- loader-utils@0.2.17
| +-- lodash@3.10.1
| `-- source-map@0.1.43
|  `-- amdefine@1.0.1
+-- mocha@3.5.3
| +-- browser-stdout@1.3.0
| +-- commander@2.9.0
| | `-- graceful-readlink@1.0.1
| +-- debug@2.6.8
| +-- diff@3.2.0
| +-- glob@7.1.1
| +-- growl@1.9.2
| +-- he@1.1.1
| +-- json3@3.3.2
| +-- lodash.create@3.1.1
| | +-- lodash._baseassign@3.2.0
| | | +-- lodash._basecopy@3.0.1
| | | `-- lodash.keys@3.1.2
| | |  +-- lodash._getnative@3.9.1
| | |  `-- lodash.isarguments@3.1.0
| | +-- lodash._basecreate@3.0.3
| | `-- lodash._isiterateecall@3.0.9
| `-- supports-color@3.1.2
|  `-- has-flag@1.0.0
+-- nightwatch@0.9.16
| +-- chai-nightwatch@0.1.1
| | +-- assertion-error@1.0.0
| | `-- deep-eql@0.1.3
| |  `-- type-detect@0.1.1
| +-- ejs@0.8.3
| +-- lodash.clone@3.0.3
| | +-- lodash._baseclone@3.3.0
| | | +-- lodash._arraycopy@3.0.0
| | | +-- lodash._arrayeach@3.0.0
| | | +-- lodash._basefor@3.0.3
| | | `-- lodash.isarray@3.0.4
| | `-- lodash._bindcallback@3.0.1
| +-- lodash.defaultsdeep@4.3.2
| | +-- lodash._baseclone@4.5.7
| | +-- lodash._stack@4.1.3
| | +-- lodash.isplainobject@4.0.6
| | +-- lodash.keysin@4.2.0
| | +-- lodash.mergewith@4.6.0
| | `-- lodash.rest@4.0.5
| +-- minimatch@3.0.3
| +-- mkpath@1.0.0
| +-- mocha-nightwatch@3.2.2
| | +-- commander@2.9.0
| | +-- debug@2.2.0
| | | `-- ms@0.7.1
| | +-- diff@1.4.0
| | +-- glob@7.0.5
| | `-- supports-color@3.1.2
| |  `-- has-flag@1.0.0
| +-- proxy-agent@2.0.0
| | +-- agent-base@2.1.1
| | | `-- semver@5.0.3
| | +-- http-proxy-agent@1.0.0
| | +-- https-proxy-agent@1.0.0
| | +-- lru-cache@2.6.5
| | +-- pac-proxy-agent@1.1.0
| | | +-- get-uri@2.0.1
| | | | +-- data-uri-to-buffer@1.2.0
| | | | +-- file-uri-to-path@1.0.0
| | | | `-- ftp@0.3.10
| | | |  +-- readable-stream@1.1.14
| | | |  | +-- isarray@0.0.1
| | | |  | `-- string_decoder@0.10.31
| | | |  `-- xregexp@2.0.0
| | | `-- pac-resolver@2.0.0
| | |  +-- co@3.0.6
| | |  +-- degenerator@1.0.4
| | |  | +-- ast-types@0.9.14
| | |  | `-- esprima@3.1.3
| | |  +-- ip@1.0.1
| | |  +-- netmask@1.0.6
| | |  `-- thunkify@2.1.2
| | `-- socks-proxy-agent@2.1.1
| |  `-- socks@1.1.10
| |   +-- ip@1.1.5
| |   `-- smart-buffer@1.1.15
| `-- q@1.4.1
+-- opn@5.1.0
| `-- is-wsl@1.1.0
+-- optimize-css-assets-webpack-plugin@3.2.0
| `-- last-call-webpack-plugin@2.1.2
+-- ora@1.3.0
| +-- chalk@1.1.3
| | +-- ansi-styles@2.2.1
| | `-- supports-color@2.0.0
| +-- cli-cursor@2.1.0
| | `-- restore-cursor@2.0.0
| |  +-- onetime@2.0.1
| |  | `-- mimic-fn@1.1.0
| |  `-- signal-exit@3.0.2
| +-- cli-spinners@1.1.0
| `-- log-symbols@1.0.2
|  `-- chalk@1.1.3
|   +-- ansi-styles@2.2.1
|   `-- supports-color@2.0.0
+-- portfinder@1.0.13
| `-- async@1.5.2
+-- rimraf@2.6.2
+-- selenium-server@3.6.0
+-- semver@5.4.1
+-- shelljs@0.7.8
| +-- interpret@1.0.4
| `-- rechoir@0.6.2
+-- UNMET PEER DEPENDENCY sinon@4.0.1
| +-- formatio@1.2.0
| +-- lodash.get@4.4.2
| +-- lolex@2.1.3
| +-- native-promise-only@0.8.1
| +-- nise@1.1.1
| | +-- just-extend@1.1.22
| | `-- path-to-regexp@1.7.0
| |  `-- isarray@0.0.1
| +-- path-to-regexp@1.7.0
| | `-- isarray@0.0.1
| +-- samsam@1.3.0
| `-- text-encoding@0.6.4
+-- sinon-chai@2.14.0
+-- url-loader@0.5.9
| `-- mime@1.3.6
+-- vue@2.4.4
+-- vue-loader@13.3.0
| +-- consolidate@0.14.5
| +-- hash-sum@1.0.2
| +-- postcss-load-config@1.2.0
| | +-- cosmiconfig@2.2.2
| | | +-- is-directory@0.3.1
| | | +-- minimist@1.2.0
| | | +-- parse-json@2.2.0
| | | | `-- error-ex@1.3.1
| | | |  `-- is-arrayish@0.2.1
| | | `-- require-from-string@1.2.1
| | +-- postcss-load-options@1.2.0
| | `-- postcss-load-plugins@2.3.0
| +-- postcss-selector-parser@2.2.3
| | +-- flatten@1.0.2
| | +-- indexes-of@1.0.1
| | `-- uniq@1.0.1
| +-- prettier@1.7.4
| +-- resolve@1.4.0
| | `-- path-parse@1.0.5
| +-- source-map@0.6.1
| +-- vue-hot-reload-api@2.2.0
| `-- vue-template-es2015-compiler@1.6.0
+-- vue-router@2.8.0
+-- vue-style-loader@3.0.3
+-- vue-template-compiler@2.4.4
| `-- de-indent@1.0.2
+-- webpack@3.7.1
| +-- acorn@5.1.2
| +-- acorn-dynamic-import@2.0.2
| | `-- acorn@4.0.13
| +-- ajv@5.2.3
| | +-- co@4.6.0
| | +-- fast-deep-equal@1.0.0
| | +-- json-schema-traverse@0.3.1
| | `-- json-stable-stringify@1.0.1
| |  `-- jsonify@0.0.0
| +-- ajv-keywords@2.1.0
| +-- enhanced-resolve@3.4.1
| +-- escope@3.6.0
| | +-- es6-map@0.1.5
| | | +-- d@1.0.0
| | | +-- es5-ext@0.10.31
| | | +-- es6-iterator@2.0.1
| | | +-- es6-set@0.1.5
| | | +-- es6-symbol@3.1.1
| | | `-- event-emitter@0.3.5
| | +-- es6-weak-map@2.0.2
| | +-- esrecurse@4.2.0
| | | `-- estraverse@4.2.0
| | `-- estraverse@4.2.0
| +-- json-loader@0.5.7
| +-- loader-runner@2.3.0
| +-- memory-fs@0.4.1
| | +-- errno@0.1.4
| | | `-- prr@0.0.0
| | `-- readable-stream@2.3.3
| |  +-- isarray@1.0.0
| |  +-- process-nextick-args@1.0.7
| |  +-- string_decoder@1.0.3
| |  `-- util-deprecate@1.0.2
| +-- node-libs-browser@2.0.0
| | +-- assert@1.4.1
| | +-- browserify-zlib@0.1.4
| | | `-- pako@0.2.9
| | +-- buffer@4.9.1
| | | +-- base64-js@1.2.1
| | | `-- ieee754@1.1.8
| | +-- console-browserify@1.1.0
| | | `-- date-now@0.1.4
| | +-- constants-browserify@1.0.0
| | +-- crypto-browserify@3.11.1
| | | +-- browserify-cipher@1.0.0
| | | | +-- browserify-aes@1.0.8
| | | | | `-- buffer-xor@1.0.3
| | | | +-- browserify-des@1.0.0
| | | | | `-- des.js@1.0.0
| | | | `-- evp_bytestokey@1.0.3
| | | |  `-- md5.js@1.3.4
| | | |   `-- hash-base@3.0.4
| | | +-- browserify-sign@4.0.4
| | | | +-- bn.js@4.11.8
| | | | +-- browserify-rsa@4.0.1
| | | | +-- elliptic@6.4.0
| | | | | +-- brorand@1.1.0
| | | | | +-- hash.js@1.1.3
| | | | | +-- hmac-drbg@1.0.1
| | | | | +-- minimalistic-assert@1.0.0
| | | | | `-- minimalistic-crypto-utils@1.0.1
| | | | `-- parse-asn1@5.1.0
| | | |  `-- asn1.js@4.9.1
| | | +-- create-ecdh@4.0.0
| | | +-- create-hash@1.1.3
| | | | +-- cipher-base@1.0.4
| | | | +-- ripemd160@2.0.1
| | | | | `-- hash-base@2.0.2
| | | | `-- sha.js@2.4.9
| | | +-- create-hmac@1.1.6
| | | +-- diffie-hellman@5.0.2
| | | | `-- miller-rabin@4.0.1
| | | +-- pbkdf2@3.0.14
| | | +-- public-encrypt@4.0.0
| | | `-- randombytes@2.0.5
| | +-- domain-browser@1.1.7
| | +-- events@1.1.1
| | +-- https-browserify@0.0.1
| | +-- os-browserify@0.2.1
| | +-- path-browserify@0.0.0
| | +-- process@0.11.10
| | +-- punycode@1.4.1
| | +-- querystring-es3@0.2.1
| | +-- stream-browserify@2.0.1
| | +-- stream-http@2.7.2
| | | +-- builtin-status-codes@3.0.0
| | | +-- to-arraybuffer@1.0.1
| | | `-- xtend@4.0.1
| | +-- string_decoder@0.10.31
| | +-- timers-browserify@2.0.4
| | | `-- setimmediate@1.0.5
| | +-- tty-browserify@0.0.0
| | +-- url@0.11.0
| | | `-- punycode@1.3.2
| | +-- util@0.10.3
| | | `-- inherits@2.0.1
| | `-- vm-browserify@0.0.4
| +-- source-map@0.5.7
| +-- tapable@0.2.8
| +-- uglifyjs-webpack-plugin@0.4.6
| | +-- source-map@0.5.7
| | `-- uglify-js@2.8.29
| |  +-- uglify-to-browserify@1.0.2
| |  `-- yargs@3.10.0
| |   +-- camelcase@1.2.1
| |   +-- cliui@2.1.0
| |   | +-- center-align@0.1.3
| |   | | +-- align-text@0.1.4
| |   | | | `-- longest@1.0.1
| |   | | `-- lazy-cache@1.0.4
| |   | +-- right-align@0.1.3
| |   | `-- wordwrap@0.0.2
| |   `-- window-size@0.1.0
| +-- watchpack@1.4.0
| `-- yargs@8.0.2
|  +-- camelcase@4.1.0
|  +-- cliui@3.2.0
|  | +-- string-width@1.0.2
|  | | +-- code-point-at@1.1.0
|  | | `-- is-fullwidth-code-point@1.0.0
|  | `-- wrap-ansi@2.1.0
|  |  `-- string-width@1.0.2
|  +-- get-caller-file@1.0.2
|  +-- os-locale@2.1.0
|  | +-- execa@0.7.0
|  | | +-- get-stream@3.0.0
|  | | +-- is-stream@1.1.0
|  | | +-- npm-run-path@2.0.2
|  | | | `-- path-key@2.0.1
|  | | +-- p-finally@1.0.0
|  | | `-- strip-eof@1.0.0
|  | +-- lcid@1.0.0
|  | | `-- invert-kv@1.0.0
|  | `-- mem@1.1.0
|  +-- read-pkg-up@2.0.0
|  | `-- read-pkg@2.0.0
|  |  +-- load-json-file@2.0.0
|  |  | `-- strip-bom@3.0.0
|  |  `-- path-type@2.0.0
|  +-- require-directory@2.1.1
|  +-- set-blocking@2.0.0
|  +-- string-width@2.1.1
|  | +-- is-fullwidth-code-point@2.0.0
|  | `-- strip-ansi@4.0.0
|  |  `-- ansi-regex@3.0.0
|  +-- which-module@2.0.0
|  +-- y18n@3.2.1
|  `-- yargs-parser@7.0.0
|   `-- camelcase@4.1.0
+-- webpack-bundle-analyzer@2.9.0
| +-- chalk@1.1.3
| | +-- ansi-styles@2.2.1
| | `-- supports-color@2.0.0
| +-- commander@2.11.0
| +-- ejs@2.5.7
| +-- filesize@3.5.10
| +-- gzip-size@3.0.0
| | `-- duplexer@0.1.1
| +-- opener@1.4.3
| `-- ws@2.3.1
|  +-- safe-buffer@5.0.1
|  `-- ultron@1.1.0
+-- webpack-dev-middleware@1.12.0
| `-- time-stamp@2.0.0
+-- webpack-hot-middleware@2.19.1
| +-- ansi-html@0.0.7
| +-- html-entities@1.2.1
| +-- querystring@0.2.0
| `-- strip-ansi@3.0.1
|  `-- ansi-regex@2.1.1
`-- webpack-merge@4.1.0
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN karma-sinon-chai@1.3.2 requires a peer of sinon@^2.1.0 but none was installed.
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "E:\\nodejs\\node.exe" "E:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.11.4
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! phantomjs-prebuilt@2.1.15 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the phantomjs-prebuilt@2.1.15 install script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the phantomjs-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!   node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!   npm bugs phantomjs-prebuilt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!   npm owner ls phantomjs-prebuilt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!   C:\Users\81487\Desktop\test\npm-debug.log
$ npm run dev
> node build/dev-server.js
> Starting dev server...
 DONE Compiled successfully in 15700ms23:48:41
> Listening at http://localhost:8080

总结

以上所述是小编给大家介绍的使用命令行工具npm新创建一个vue项目的方法,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对我们网站的支持!

您可能感兴趣的文章:

  • 通过npm引用的vue组件使用详解
  • 基于Vue的文字跑马灯组件(npm 组件包)
  • vue封装第三方插件并发布到npm的方法
  • node通过npm写一个cli命令行工具
  • 用vue封装插件并发布到npm的方法步骤
(0)

相关推荐

  • 基于Vue的文字跑马灯组件(npm 组件包)

    一.前言 总结下最近工作上在移动端实现的一个跑马灯效果,最终效果如下: 印象中好像HTML标签的'marquee'的直接可以实现这个效果,不过 HTML标准中已经废弃了'marquee'标签 既然HTML标准已经废弃了这个标签,现在工作上用的是Vue,所以想着能不能自己也发布一个基于Vue的文字跑马灯组件包,这样别人可以通过npm install ...就可以用,想想还有点激动,于是开始我的第一个npm组件之旅! 二.用npm发布一个包 有点惭愧,之前通过npm install ...安装pac

  • node通过npm写一个cli命令行工具

    前言 如果你想写一个npm插件,如果你想通过命令行来简化自己的操作,如果你也是个懒惰的人,那么这篇文章值得一看. po主的上一篇文章介绍了定制自己的模版,但这样po主还是不满足啊,项目中我们频繁的需要新建一些页面,逻辑样式等文件,每次都手动new一个,然后复制一些基本代码进去非常的麻烦,所以就有了这篇文章.接下来就让po主为大家一步一步演示怎么做一个npm命令行插件. 注册npm账户 发布npm插件,首先肯定要有个npm帐号了,过程就不啰嗦了,走你. npm官网 有了账号后,我们通过npm in

  • 通过npm引用的vue组件使用详解

    什么是组件:组件是Vue.js最强大的功能之一.组件可以扩展HTML元素,封装可重用的代码.在较高层面上,组件是自定义的元素,Vue.js的编译器为它添加特殊功能.在有些情况下,组件也可以是原生HTML元素的形式,以is特性扩展. 如何注册组件? 需要使用Vue.extend方法创建一个组件,然后使用Vue.component方法注册组件.Vue.extend方法格式如下: var MyComponent = Vue.extend({ // 选项...后面再介绍 }) 如果想要其他地方使用这个创

  • vue封装第三方插件并发布到npm的方法

    前言 写此文前特意google了一下,因为有较详细的开发教程我再写意义不大,有把插件封装成组件的教程,有把自己的组件封住成插件的教程,本文主要说明如何把第三方的插件封装成vue插件,简化配置,一键安装,主要提供思路,封装方法大同小异·,文章略长要有耐心. gitment gitment是一个基于github issues封装的评论插件,以这个插件作为演示,把它封装成vue插件.vue-gitment,该插件已发布到npm,并在自己的开源项目vueblog中安装使用 项目初始化 封装vue的插件用

  • 用vue封装插件并发布到npm的方法步骤

    一.基于vue的国家区号列表 vue-flag-list包含了大部分国家的区号,点击右边的三角形展开列表可以选择国家区号,若列表中没有区号,也可以自己输入区号. 全球区号列表 1.1 初始化组件 用的是vue-cli来初始化组件,虽然有很多东西不需要,因为对这个比较熟悉,所以还是按照这个步骤来. vue init webpack vue-flag-list cd vue-flag-list cnpm install npm run dev 1.2 根据自己的需求,实现具体功能,我的主要功能写在v

  • 使用命令行工具npm新创建一个vue项目的方法

    Vue.js 提供一个官方命令行工具,可用于快速搭建大型单页应用.该工具提供开箱即用的构建工具配置,带来现代化的前端开发流程. 只需几分钟即可创建并启动一个带热重载.保存时静态检查以及可用于生产环境的构建配置的项目: # 全局安装 vue-cli $ npm install --global vue-cli # 创建一个基于 webpack 模板的新项目 $ vue init webpack my-project $ vue init webpack test //输入命令 ? Project

  • 使用sqlplus命令行工具为oracle创建用户和表空间

    用Oracle10g自带的企业管理器或PL/SQL图形化的方法创建表空间和用户以及分配权限是相对比较简单的,本文要介绍的是另一种方法,使用Oracle 9i所带的命令行工具:SQLPLUS 来创建表空间,这个方法用起来更加简明快捷. 假设: 文章假设,如果您用的是Linux系统,那么Oracle用户名为oracle.同时,您是在oracle服务器上操作. 如果是在Windows系统下, 请先点击"开始",然后点"运行",输入cmd并点击"确定",

  • 从零开始在NPM上发布一个Vue组件的方法步骤

    TL;DR 本文细致讲解了在NPM上发布一个Vue组件的全过程,包括创建项目.编写组件.打包和发布四个环节. 创建项目 这里我们直接利用@vue/cli来生成项目.如果没有安装@vue/cli的话,可以使用以下方法进行安装: # 如果喜欢npm npm i -g @vue/cli # 如果喜欢yarn yarn global add @vue/cli 此外,如果安装了npx(高版本的nodejs发行版会自带这一工具)的话,还可以很方便地通过npx vue这一方式实现免安装使用. 接下来就可以创建

  • Nodejs 发布自己的npm包并制作成命令行工具的实例讲解

    <span style="font-family:Arial, Helvetica, sans-serif;background-color:rgb(255,255,255);">近日当我在使用npm上已经存在的一个包时,发现它有bug:于是决定自己实现这个功能,自己写一个npm包.</span> 下面我记录一下自己的实现过程. 1. npm init 选择一个文件夹,然后用命令行cd进去,然后执行npm init,这时会生成一长串表单,根据自己的实际情况填写内

  • Node.js 使用命令行工具检查更新

    随着 Node.js 的"走红",使用 Node.js 开发命令行工具越来越简单.一个成熟的命令行工具应该从一开始就要考虑好之后的版本更新如何"优雅"的告知用户.最好的方法当然是当用户在终端执行命令时,将相关信息提示给用户. 这篇文章将给出一个易用.高效.可定制的方法.源码在这里: GITHUB ,欢迎大家顺手点赞.接下来我将讲解其实现思路. 使用 我们先简单看看这个 npm 包的使用方法: const updater = require('pkg-updater'

  • 使用.Net Core编写命令行工具(CLI)的方法

    命令行工具(CLI) 命令行工具(CLI)是在图形用户界面得到普及之前使用最为广泛的用户界面,它通常不支持鼠标,用户通过键盘输入指令,计算机接收到指令后,予以执行. 通常认为,命令行工具(CLI)没有图形用户界面(GUI)那么方便用户操作.因为,命令行工具的软件通常需要用户记忆操作的命令,但是,由于其本身的特点,命令行工具要较图形用户界面节约计算机系统的资源.在熟记命令的前提下,使用命令行工具往往要较使用图形用户界面的操作速度要快.所以,图形用户界面的操作系统中,都保留着可选的命令行工具. 另外

  • 教你如何用Eclipse创建一个Maven项目

    一.Maven的安装与设置环境变量 想要创建一个Maven项目需要先安装Maven,并且设置好环境变量 1.去下载Maven 2.设置环境变量 新建变量MAVEN_HOME,值为Maven的目录X:\XXX\apache-maven-XXX 将%MAVEN_HOME%\bin添加到Path变量下 3.运行CMD,输入mvn -v后可以看到Maven的版本信息等则表示安装成功 二.创建Maven项目和依赖 2.1 创建Maven项目的两种方式 第一种创建方式:使用命令行手动创建 mvn arche

  • 使用kubeadm命令行工具创建kubernetes集群

    目录 命令行工具 通过软件仓库安装 二进制文件下载安装 ubutu & centos 快速安装 创建 kubernetes 集群 1,创建 Master 2,然后初始化集群网络. 3,加入集群 清除环境 命令行工具 主要有三个工具,命令行工具使用 kube 前缀命名. kubeadm:用来初始化集群的指令. kubelet:在集群中的每个节点上用来启动 Pod 和容器等. kubectl:用来与集群通信的命令行工具. 通过软件仓库安装 方法 ① 此方法是通过 Google 的源下载安装工具包.

  • 详解用Node.js写一个简单的命令行工具

    本文介绍了用Node.js写一个简单的命令行工具,分享给大家,具体如下: 操作系统需要为Linux 1. 目标 在命令行输入自己写的命令,完成目标任务 命令行要求全局有效 命令行要求可以删除 命令行作用,生成一个文件,显示当前的日期 2. 代码部分 新建一个文件,命名为sherryFile 文件sherryFile的内容 介绍: 生成一个文件,文件内容为当前日期和创建者 #! /usr/bin/env node console.log('command start'); const fs = r

  • 详解Go 创建命令行工具的方法

    前言 最近因为项目需要写了一段时间的 Go ,相对于 Java 来说语法简单同时又有着一些 Python 之类的语法糖,让人大呼"真香". 但现阶段相对来说还是 Python 写的多一些,偶尔还得回炉写点 Java :自然对 Go 也谈不上多熟悉. 于是便利用周末时间自己做个小项目来加深一些使用经验.于是我便想到了之前利用 Java 写的一个博客小工具. 那段时间正值微博图床大量图片禁止外链,导致许多个人博客中的图片都不能查看.这个工具可以将文章中的图片备份到本地,还能将图片直接替换到

随机推荐