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

yu-init

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yu-init - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

8

index.js

@@ -8,9 +8,8 @@ #!/usr/bin/env node

program.version('1.0.5');
program.version('1.3.2');
program
.arguments('<dir>')
.option('-w --webpack','创建webpack项目')
.option('-v --vue','创建vue项目')
.option('-s --server','创建koa单进程项目')
.option('-k --koa','创建koa多进程项目')
.option('-s --server','创建koa单进程项目')
.action(callback);

@@ -23,4 +22,2 @@

createDemo(dir,'webpack-demo');
}else if(cmd.vue){
createDemo(dir,'vue-demo');
}else if(cmd.server){

@@ -51,3 +48,4 @@ createDemo(dir,'server-demo');

console.log(` 安装npm包:cnpm install\n`);
demoType!='webpack-demo' && console.log(` 安装npm包:cnpm install nodemon -g\n`);
console.log(` 启动项目:cnpm run dev\n`);
}
{
"name": "yu-init",
"version": "1.3.1",
"version": "1.3.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -19,10 +19,5 @@ # yu-init

### 创建官方vue构建的项目
### 创建webpack4构建的前端项目(已配置vue,less)
```
yu-init 项目名 -v
```
### 创建webpack4构建的项目
```
yu-init 项目名 -w
```
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