axesbuilder

0.0.5 • Public • Published

AxesBuilder Build Status

NPM

build the projects which run with the AxesJS web framework.

What is AxesBuilder

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

How to use

Step 1: install AxesBuilder

npm install axesbuilder -g

Step 2:

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

Step 3:

run the command to build

axesbuilder 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": []
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    1
  • 0.0.4
    0

Package Sidebar

Install

npm i axesbuilder

Weekly Downloads

1

Version

0.0.5

License

MIT

Last publish

Collaborators

  • hou80houzhu