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

jbz-server-build

v1.0.1-beta5

Published

[yum]: http://yum.baseurl.org/wiki/ [yarn]: https://yarnpkg.com/ [ci-img]: https://travis-ci.org/cuppi/postcss-ketchup.svg [ci]: https://travis-ci.org/cuppi/postcss-ketchup [npx]: https://github.com/zkat/npx [CSS]: https://developer.mozilla.o

Downloads

19

Readme

jbz-server-build Build Status

A cli for make bundle more happy and more comfortable.

Getting Started

First thing's first, install the environment:

node

It is good way to install node by package manager, for yum:

sudo yum install nodejs 

Note: since cli USES the es7 feature, you need to install a later version of 8.0.0 for node.

yarn

yarn is a fast, reliable, and secure dependency management:

npm install yarn -g

other

"scripts": {
    "smart-build-beta": "jbz-oss-build beta",
    "smart-build-pro": "jbz-oss-build pro",
    ...
}

Cli will depend heavily on specific script commands in the package.json file in the project, so it is important to contact the project leader to implement the build script. The command "smart-build-beta" and "smart-build-pro" are used during packaging.

Usage

There are several ways to use this command:

npx

the simplest way to use:

first, you just need install a npx package globaly.

install:

npm install -g npx

or

yarn global add npx

and then, just a little command

npx jbz-server-build beta --path='path/to/project'

global package

you can also use it as a global package

install:

npm install -g jbz-server-build

or

yarn global add jbz-server-build

and then, you will use it just like any other commands like ls, pwd, etc.

jbz-server-build beta --path='path/to/project'

Note: the jbz-server-build is a global package, so do not use it as a local package installation

source

Sometimes, you just want a simple file to do everything in packaging process, Therefore, you can use the source file to do.

git clone [email protected]:jinbaozheng/jbz-server-build.git
node ./index.js beta --path='path/to/project'

Config

jbz-server-build has a number of options that you can use, which you can view with the help command

jbz-server-build -h
    Usage: jbz-server-build [COMMAND] [Options] [args]
    Commands:
      beta         打包测试版本
      pro          打包生产版本
      all          打包双版本
      clear        清除打包文件及依赖包文件
      install      安装依赖包

    Options:
      --uninstall    不进行安装依赖包

    args:
      --path         项目路径

    Aliases:
      -    install

Note: By default, path USES the current directory as the root of the project, and the path parameter USES the relative path of the current directory to find the project root path.