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

idt-lg

v1.1.17

Published

Integration Develop Tool[older version]

Downloads

3

Readme

idt

Integration Develop Tool [ 集成开发工具 ]

安装

windows下,为了保持统一,请下载

git bash

windows下,如果想解决git bash下的中文乱码问题,请看这里

下面的步骤mac和windows一致

请确保已经安装好nodejs
使用npm install来安装idt
(sudo) npm install -g idt
成功以后可以开始使用
idt -h

Usage: idt [options] [command]

Commands:

  ws <action>  run webserver: `idt ws start`. <action> now only has `start` option
  build        build your project
  ceconfig     create `idt-config` for your project
  install      install `grunt-cli` and `edp` globally

Options:

  -h, --help             output usage information
  -V, --version          output the version number
  -c, --config [config]  specify your `idt-config.js`, `idt-config.js` by default

在windows下如果出现npm安装相关的错误,则可能是没有在c:\Users\xxx\AppData\Roaming下建立npm文件夹。

通过idt install命令,来安装全局依赖
idt install

若再次运行此命令的时候出现:

you have installed `grunt` & `edp`.

则说明安装成功。

开发,进入到项目根目录
idt ceconfig

此命令,将会在当前pwd的目录,新建一个名为idt-config.js的idt配置文件,在此配置文件中,可配置webserver相关参数及其build的相关参数。

本地静态服务器
idt ws start

此命令,会把当前pwd的目录作为根目录,启动根据idt-config.js中配置的webserver服务器,以便开发。

部署
idt build

现有功能,支持在WebContent资源根目录下的整体build,在build之前,根目录下,需要已经生成idt-config.jsmodule.conf文件。

idt-config.js文件可以通过idt ws start来自动生成,module.conf则需要仔细阅读生成的idt-config.js文件中的说明及其配置。

idt build默认是不压缩的build过程,这是为了便于开发、联调。发布线上之前需要带上--release参数:

idt build --release

idt build同样可以针对某个子目录进行build:

idt build template/example admin/js --release

配置文件idt-config.js一定要仔细查看及配置