Socket
Book a DemoInstallSign in
Socket

ecs-cli

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ecs-cli

通用手脚架

latest
npmnpm
Version
0.4.1
Version published
Maintainers
1
Created
Source

前端手脚架

使用方式

切换npm源到npm.lezhixing.com.cn

npm install -g ecs-cli

H5项目

ecs init h5

WEB端项目

ecs init web

nodejs项目

开发指南

入口文件src/index.js

注意这个文件开头的#!/usr/bin/env node这行代码表示该js文件可以当做linux脚本文件执行。

也就是可以直接在命令行中使用 ./src/index.js执行.

脚手架思路根据不同的输入,选择templates文件夹中不同的模板。

FAQs

Package last updated on 12 Oct 2019

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