New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

q-deploy

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

q-deploy

快速部署脚手架

latest
npmnpm
Version
1.6.1
Version published
Maintainers
1
Created
Source

前端快速部署cli

使用

npm i q-deploy -g // 安装
q-deploy --help //查看详情
q-deploy init // 获取配置模板

module.exports = {
	privateKey: '', // 私钥地址(不填写根据用户名, 密码登录)
	buildScript: 'npm run build', // 打包执行的命令
	distPath: 'dist', // 打包文件本地路径
	env: {
		dev: {
			name: '测试环境',
			host: '',
			port: 80,
			password: '',
			username: '',
			webPath: '' // 服务器项目存放处
		},
		prod: {
			name: '生产环境',
			host: '',
			port: 80,
			password: '',
			username: '',
			webPath: '',
		}
	}
}

q-deploy deploy // 部署
q-deploy --build --env=dev/prod deploy // env 根据配置文件中的env字段

FAQs

Package last updated on 17 Dec 2020

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