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

gaea-cli

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gaea-cli - npm Package Compare versions

Comparing version 0.7.5 to 0.7.6

.npmignore

3

bin/init.js

@@ -74,3 +74,3 @@ const program = require('commander');

message:'项目名称',
default:'gaea-init'
default:projectRoot
},

@@ -182,3 +182,2 @@ {

}
return resolve(download(projectRoot));

@@ -185,0 +184,0 @@ })

@@ -45,3 +45,3 @@ const Metalsmith = require('metalsmith');

let t = files[fileName].contents.toString()
files[fileName].contents = Buffer.from(Handlebars.compile(t)(meta))
files[fileName].contents = new Buffer(Handlebars.compile(t)(meta))
}

@@ -48,0 +48,0 @@

{
"name": "gaea-cli",
"version": "0.7.5",
"version": "0.7.6",
"description": "gaea-cli",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -139,8 +139,12 @@ # Gaea

"smock": {
"host": "",
"domain": "",
"projectName": ""
}
"docPath": "", //ip地址
"realHostName": "" //域名
},
```
### eslint 和 prettier篇
脚手架支持`npm run lint` 一键检查和格式化src目录下的业务`.js`,`.vue`文件,遵循[standard](https://standardjs.com/),[eslint-plugin-vue](https://eslint.vuejs.org/)标准。关闭了一些严格的要求,如果有个性化需求可以在Webpack模版工程下的`.eslintrc.js`文件设置规则。
重点是,由于加了eslintrc相关文件,`Vscode`等编辑器会提示报错,体验比较糟糕,为了不影响开发心情,可以关闭Vscode的提示,只在需要的时候执行一遍命令,就可以自动修改和提示需要修复的报错。
## Note

@@ -147,0 +151,0 @@ * 上线逻辑,前后端分离上线,lib/vendor.js 属于第三方库会发生变动机会比较小,所以在后续迭代可以不需要上线,只需要上线1.0.0/或者1.0.1/版本的文件

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