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

@kemao/project-tools

v1.2.33

Published

project-tools

Downloads

302

Readme

project-tools

基础的项目编译工具,真正零配置,开箱即用。

Debug

# 编译包
npm run package-tools build
# 发布包
npm run package-tools publish
# 项目编译
ts-node tools/cli build 
ts-node tools/cli build --watch
npm-check -u
yarn-check -u

Usage

# 微信小程序编译
npm run project-tools build 
# 微信小程序调试
npm run project-tools build --watch

# 普通lark项目编译
npm run project-tools build
# 普通lark项目调试
npm run project-tools build -- --watch

# 编译包
npm run package-tools build
# 发布包
npm run package-tools publish
# 生成api文档
npm run package-tools api-doc
# 编译项目文档
npm run package-tools doc
# 单元测试用例执行
npm run package-tools test
# 查询包更新
npm run npm-check -u

Changelog

2018-11-16

  • 增加init指令,可以快速输出生成完整的项目模版(拷贝src到当前目录,并输出tsconfig.json/tslint.json/.gitignore等文件)

2018-07-30

  • 新增微信小程序编译支持,支持typescript写小程序啦,带完整typings,vscode/webstorm自动识别wx小程序Api,可脱离weixin IDE开发,可以使用完整es6语法和async/await,最终编译成es3,无需加载任何额外垫片和增加额外的代码量。
  • 新增微信小程序less编译支持,无需安装任何编辑器插件,支持调试。 为什么要支持less?因为css的语法太弱。less支持更友好的多行注释和更简便的选择器生成
  • 支持小程序发布前,对js做压缩混淆处理,压缩wxml/css/json

see more... @CHANGELOG