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

react_luo

v1.0.0

Published

react脚手架,最新技术

Downloads

6

Readme

React-Luo

Build Status codebeat badge PRs Welcome

构建 Start

npm install       # 安装依赖模块
npm run dev       # 运行开发环境,默认监听8888端口
npm run build     # 正式打包,用于生产环境

更新日志 Update log

  • 2017-10-13 1.HMR热更新现在使用了webpack-dev-middleware 和 webpack-hot-middleware 的配置方式 2.更合理的路由跳转方式 3.其他包更新

  • 2017-10-11 1.加入代码分割的例子,运用bundle-loader的懒加载方式 2.babel-preset-env代替原来的其他babel插件

  • 2017-09-21 1.主分支master也已升级为react-router 4.2 2.其他包更新

  • 2017-09-13 1.创建了新的分支 配置了react-router 4.0

  • 2017-09-07 1.使用react-hot-loader 3.0.0 配置了HMR热替换,不再需要以前的静态资源预编译了 2.配置了Antd自定义主题所需的代码,现在可以直接在package.json中的theme字段定义自己的Antd主题

特性 Characteristic

  • HMR局部热替换

  • HappyPack多线程编译

  • 最终打包后,会在/build文件夹下生成 index.html 和 /dist文件夹,这两个东西是最终需要的。

目录结构 structure

.
├── src                                 # 项目代码目录
│   ├── a_action                        # 所有的action
│   ├── a_component                     # 所有的UI类组件
│   ├── a_container                     # 所有的控制类组件
│   ├── a_reducer                       # 所有的reducer
│   ├── assets                          # 所有的图片、文件等资源
│   ├── css                             # 所有的样式文件
│   ├── route                           # 路由
│   ├── store                           # store数据中心
│   ├── util                            # 自定义工具
│   ├── app.js                          # 项目入口文件
│   ├── index.html                      # 开发环境所用的主页html文件
│   └── index_template.html             # 生产环境打包时所用的主页html文件

预览地址 Demo

http://isluo.com/work/react-luo/index.html