Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
martian-cli
Advanced tools
Frame template for weex-frame、vue-frame .
$ npm install -g martian-cli
Usage: martian init:weex [projectName]
一、 项目结构
weex-frame
├── android (android项目)
│
├── ios (ios项目代码)
│
├── src (weex模块)
│ ├── api (api模块)
│ ├── components (组件模块)
│ ├── constants (常量配置)
│ ├── utils (工具模块)
│ └── views (视图模块)
│
└── dist (build输出模块)
├── weex (native使用jsbundle)
└── web (web使用jsbundle)
二、 项目启动
// 1、 安装weexpack
npm install -g weexpack
// 2、 安装依赖
npm install
// 3、 启动serve
./start
// 4、设置调试环境
// 调试本地serve
npm run init serve
// 调试assets或者jsbundle文件
npm run init local
1、 android 启动
或者:
weexpack run android
2、 iOS 启动
或者:
weexpack run ios
3、 h5 启动方式
或者:
weexpack run web
Usage: martian init:vue [projectName]
一、 项目结构
vue-frame
│
├── build (webpack 打包配置)
│
├── config (环境配置)
│
├── test (测试模块)
│
└── src (主业务)
│
├── api (api模块)
├── assets (api模块)
├── components(组件模块)
├── pages (界面)
├── router (路由)
├── store (vuex)
└── utils (工具模块)
二、 项目启动
npm run dev
FAQs
Martian Cli 初始化框架项目工具
We found that martian-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.