Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-vue-boilerplate

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-vue-boilerplate - npm Package Compare versions

Comparing version 1.0.2 to 2.1.0

generators/app/templates/.babelrc

30

generators/app/index.js

@@ -58,26 +58,42 @@ 'use strict';

this.fs.copyTpl(
this.templatePath('vue-boilerplate/src'),
this.templatePath('src'),
this.destinationPath(`${this.options.name}/src`)
);
this.fs.copyTpl(
this.templatePath('vue-boilerplate/test'),
this.templatePath('test'),
this.destinationPath(`${this.options.name}/test`)
);
this.fs.copyTpl(
this.templatePath('vue-boilerplate/config'),
this.templatePath('test/unit/.*'),
this.destinationPath(`${this.options.name}/test/unit`)
);
this.fs.copyTpl(
this.templatePath('static/.*'),
this.destinationPath(`${this.options.name}/static`)
);
this.fs.copyTpl(
this.templatePath('config'),
this.destinationPath(`${this.options.name}/config`)
);
this.fs.copyTpl(
this.templatePath('vue-boilerplate/build'),
this.templatePath('build'),
this.destinationPath(`${this.options.name}/build`)
);
this.fs.copyTpl(
this.templatePath('vue-boilerplate/.*'),
this.templatePath('.*'),
this.destinationPath(`${this.options.name}`)
);
this.fs.copyTpl(
this.templatePath('vue-boilerplate/README.md'),
this.templatePath('index.html'),
this.destinationPath(`${this.options.name}/index.html`)
);
this.fs.copyTpl(
this.templatePath('yarn.lock'),
this.destinationPath(`${this.options.name}/yarn.lock`)
);
this.fs.copyTpl(
this.templatePath('README.md'),
this.destinationPath(`${this.options.name}/README.md`)
);
const pkg = this.fs.readJSON(this.templatePath('vue-boilerplate/package.json'), {});
const pkg = this.fs.readJSON(this.templatePath('package.json'), {});
pkg.name = this.options.name;

@@ -84,0 +100,0 @@ pkg.author = this.options.author;

{
"name": "generator-vue-boilerplate",
"version": "1.0.2",
"version": "2.1.0",
"description": "yeoman generator for creating vue2.0 single-page web-app",
"author": {
"name": "Raymond",
"email": "gushuangchi@gmail.com"
},
"authors": [
{
"name": "Raymond",
"email": "gushuangchi@gmail.com"
},
{
"name": "hugojing",
"email": "toloric@163.com"
}
],
"files": [

@@ -10,0 +16,0 @@ "generators"

@@ -45,3 +45,3 @@ # generator-vue-boilerplate [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]

[npm-url]: https://npmjs.org/package/generator-vue-boilerplate
[travis-image]: https://travis-ci.org/Cody2333/generator-vue-boilerplate.svg?branch=master
[travis-url]: https://travis-ci.org/Cody2333/generator-vue-boilerplate
[travis-image]: https://travis-ci.org/RaymondGsc/generator-vue-boilerplate.svg?branch=master
[travis-url]: https://travis-ci.org/RaymondGsc/generator-vue-boilerplate
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc