Socket
Socket
Sign inDemoInstall

ks-react

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ks-react

实现一个简单的react


Version published
Maintainers
1
Install size
27.7 kB
Created

Readme

Source

react

安装

npm i

打包/发布

// 打包自己实现的react代码, 主要用于测试. 
// 如果是要发布, 可以直接执行 npm publish
npm run react

编译前端资源

// 编译前端 + 抽取模块提供给浏览器
npm run source

// 抽取模块提供给浏览器
npm run browserify

编译并运行服务器

npm run server

构建应用

// 编译前端 + 运行并运行服务器
npm run build

Keywords

FAQs

Last updated on 19 Jun 2019

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc