npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

sm-metro-bundler-cli

v1.0.8

Published

A command line tool of metro bundler

Downloads

5

Readme

sm-metro-bundler-cli

sm-metro-bundler-cli 自定义React Native打包,调整Id的引用为字符串,

基于React Native 0.50.3

npm version

##来源

  • 参考 https://github.com/tsyeyuanfeng/metro-bundler-cli
  • 参考 https://github.com/tsyeyuanfeng/metro-bundler
  • 参考 https://blog.csdn.net/yeputi1015/article/details/81476369

FEATURE

  • 增加id的引用使用字符串

INSTALLATION

Install with npm globally:

npm install --global sm-metro-bundler-cli

or as a dependency for your project:

npm install --save sm-metro-bundler-cli

USAGE

sm-metro-bundler-cli extends the officail bundle command line tool rather than change it, so you can bundle as usual with metro-bundler-cli.

sm-metro-bundler bundle  \
--entry-file index.js  \
--bundle-output dist/business.jsbundle  \
--assets-dest dist \
--platform ios  \
--dev false

init 用于创建整合公司架构的项目结构,模板来源私有库sm-react-native-templates,减少项目异构带来的问题

sm-metro-bundler init projectName

upgrade 升级当前项目的框架代码,同时会更新template.json文件,模板来源私有库sm-react-native-templates

sm-metro-bundler upgrade

validate 校验当前模板是否为最新版本,模板来源私有库sm-react-native-templates

sm-metro-bundler validate