🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

packetbuilder

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

packetbuilder

build the projects which run with the packet fontend framework.

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

packetbuilder Build Status

NPM

build the projects which run with the PacketJS web framework.

##What is packetbuilder

packetbuilder for building frontend program for frontend resources combined compression and version tracking

##How to use

Step 1: install packetbuilder

npm install packetbuilder -g

Step 2:

put build.json file under the packets folder of a project.

Step 3:

run the command to build

packetbuilder build projectpacketpath

##build.json

###id

Construction of the project id to distinguish from each other, sometimes a project might construct multiple releases and updates distinction, it will be very important at this time id

###build

The project build number, users do not need attention, it is automatically incremented

###pathPrefix

May need before the packet is added to build the project basePath prefix (used in a specific user resolves dynamic pages)

###updatePage

After the build to edit pages

  • type:
    • 1 Only update page
    • 2 Updates the page and back up the original page
  • path:[]
    • ./ current directory
    • ../ parent directory
    • *.php filename characters
    • *.* filename characters

Relative to the directory is the directory packet

###cssCompressWithout

Not to merge css package Name

###codeCompressWithout

Not to merge js package Name

###tmpCompressWithout

Not to merge template package Name

{
   "id": "OPEN",
   "build": "000050",
   "pathPrefix": "",
   "updatePage": {
      "type": 1,
      "path": [
         "./index.php",
         "../index.php",
         "../index.html",
         "../*.php",
         "../*.*"
      ]
   },
   "cssCompressWithout": [],
   "codeCompressWithout": [],
   "tmpCompressWithout": []
}

Keywords

packetjs

FAQs

Package last updated on 16 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts