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

allen-cli

v1.0.1

Published

一套快速生成项目的脚手架

Downloads

6

Readme

allen-cli

项目脚手架,整合各个模板,一键生成模板。提高生产力

效果

image

安装

npm i allen-cli -g
cnpm i allen-cli -g
yarn add allen-cli -g

功能

项目初始化

allen init <you project name>

帮助

allen help

查看版本

allen -V

提供模板

1. vue 2.0

自定义配置

  1. 是否使用移动端适配
  2. 是否兼容安卓4.4.0版本
  3. 是否配置微信sdk
  4. 环境选择: 本地、开发、测试、生产、灰度、预发布

2. 基于vue的活动页h5多页面

活动页h5多页面配置,并结合jenkins和nginx实现,每次增加一个页面,只需要在jenkins的动态参数中增加一个参数

3. 使用rollup做构建工具,适用于编写组件或库

rollup是一款专业打包js的打包工具,比起webpack打包速度更快,体积更小。适用于组件和库的开发打包。

自定义配置

  • es – 将软件包保存为ES模块文件
  • cjs – CommonJS,适用于 Node 和 Browserify/Webpack
  • amd 异步模块定义,用于像RequireJS这样的模块加载器
  • umd – 通用模块定义,以amd,cjs 和 iife 为一体

更多模板还在路上...