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

lxl-react-template

v1.0.0

Published

刘星玲 react 项目模板

Downloads

2

Readme

es6-react-template

刘星玲 ES6 React 项目模板

⛰️ 能力支持

🛡️ 配置要求

🔨 如何使用

1.下载代码仓库,执行如下指令

git clone [email protected]:encode-studio-fe/es6-react-template.git
cd es6-react-template

2.安装依赖

前提条件:使用最新版本的 pnpm

pnpm run init # pnpm install

3.执行指令

pnpm run build  # 打包依赖
pnpm run start  # 运行生产环境下的服务端

打开 http://localhost:8080

注意:如果想切换端口号,请在 ./src/config中修改。

🚀 运行指令

使用cross-env提供跨平台的设置及环境变量:

| pnpm run <script> | 描述 | | ------------------- | ------------------------------------------------------ | | dev | 在localhost:3000端口号上运行,并支持 HMR | | dev:build | 在开发模式下打包至 ./public/server | | start | 在生成环境下启动服务器,在localhost:8080端口号上运行 | | build | 打包客户端和服务器端代码 | | build:server | 打包服务器端代码,并置于 ./public/server | | build:client | 打包客户端代码,并置于 ./public/assets | | analyze:server | 服务器端代码打包内容可视化 | | analyze:client | 客户端代码打包内容可视化 |