Socket
Book a DemoInstallSign in
Socket

dn-template-react-mobx

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dn-template-react-mobx

A template for dawn using react & MobX

latest
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

dn-template-react-mobx

这是一个应用了 Dawn 脚手架的 React & MobX 项目模板。关于模板,请看文档介绍

默认需要安装 react/react-dom/mobx/mobx-react,单元测试等基础设施都已配置完成。

使用

使用这个模板需要先安装好 Dawn

初始化

mkdir dn-react-mobx-demo && cd dn-react-mobx-demo
dn init -t react-mobx

通过如上命令便可以完成项目的初始化

开发

dn dev

测试

dn test

构建

dn build

发布

dn publish

默认的发布配置是「发布到 npm」,请根据需要更改 .dawn/pipe.yml 进行 publish 配置

FAQs

Package last updated on 03 Nov 2017

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