Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ohmy-dev

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ohmy-dev

react+ts 组件开发示例

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

hello~

react+ts 组件开发示例

scripts

dev

npm start

然后等待大概几秒钟,浏览器自动打开

publish

npm run mypublsih

tips

  1. 为什么本地开发不同样使用 rollup

    因为我发现 rollup 用来打包是在是太弱了,各种不满足需求。还是用 webpack 更好用,并且模拟真实的开发场景。

  2. 为什么不使用 prepublish

    prepublish 钩子在特别情况下,执行 npm i 会执行此钩子,所以自己写 publish 命令即可。

Keywords

FAQs

Package last updated on 18 Apr 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc