Skip to main content

Build tool for node.js projects

Project description

==================================================================
NBit: Node! Build IT!
==================================================================

NBit: Build tool for node.js projects

This is simple build tool allows you to make one js file from sources listed in template.


Installation
------------

$ pip install nbit

Usage
-----

- Create template file with sources listed at JsDoc with tag @src, as follows:
```
/**
* @src
*
* path/to/src/1.js
* path/to/src/1.js
* path/to/src/1.js
*/
```

- Run nbit:

$ nbit path/to/templte.js

also you can specify output direcroty (defauld: ./bin):

$ nbit path/to/template.js --out path/to/out/dir

if you want to build many templates, you can list them all:

$ nbit path/to/template1.js path/to/template2.js

nbit names output files with names of templates

- You can use it with npm. Just add nbit into scripts to your package.json:
```
...,
"scripts": {
"build": "nbit path/to/template.js"
},
...
```

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nbit, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size nbit-0.1-py2.py3-none-any.whl (4.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size nbit-0.1.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page