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

dmp-new

v0.0.2

Published

基于 `Magix` 套件的通用 BP 后台管理系统脚手架,整合多个周边平台,其中包含了 - [Magix](http://thx.github.io/magix/): 单页应用底层框架 - [Magix Gallery](https://mo.m.taobao.com/page_201912120119435): 基于 Magix 的组件系统 - [RAP](https://rap2.alibaba-inc.com/) RAP 接口管理平台 - [DEF](https://work.de

Downloads

7

Readme

zs_scaffold

基于 Magix 套件的通用 BP 后台管理系统脚手架,整合多个周边平台,其中包含了

Magix 套件文档地址: https://thx.github.io/magix-cli-book/#/

开发流程

  1. 安装 mm-cli 命令行工具(已安装请忽略):
  tnpm i -g @ali/mm-cli
  1. 执行 mm cd 一键创建带时间戳的开发分支 (mm cd 是插件命令,首次需要安装)
  2. 执行 mm dev 会启动本地开发服务器(接口对接 RAP 接口模拟),并自动打开浏览器访问

mm dev -d 可以选择对接真实接口数据调试的环境,一般联调时使用

css管理

全局样式写在 assets 目录下,然后修改 package.json ,把新增加的样式添加到 scopedCss 配置项中

其它样式写在模块当前目录下,在js里用 Magix.applyStyle('@./index.less') 调用

注意:品牌色等的项目级别的样式变量存放在 gallery/mx-style/_group.less 里,如果要改品牌色等等不要直接修改_group.less文件,修改 assets/group_override.less 即可

发布命令

mm d : 日常开发在开发分支下执行该命令即可打包并发布到预发环境

mm p : 在开发分支下执行该命令即可完成发布代码至生产环境,然后得到一个时间戳格式的版本号,如 20171212.1645.444 这种类型

跨项目渲染view

目前脚手架已经兼容跨项目渲染view功能,相关约定及说明,点这里


Magix VSCode 插件

安装地址