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.

Source Distribution

nbit-0.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

nbit-0.1-py2.py3-none-any.whl (4.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file nbit-0.1.tar.gz.

File metadata

  • Download URL: nbit-0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nbit-0.1.tar.gz
Algorithm Hash digest
SHA256 92ef6224c84cc7177fc63e81b028a9e37876896603cce05db00a72739f5ce4ca
MD5 11d864e9a6329d008d05d317073bede5
BLAKE2b-256 3f469b6f338d605c299c7c014611cfa740726bee863cbba967d9260e35c94a20

See more details on using hashes here.

File details

Details for the file nbit-0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for nbit-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 90b7961d3776be2ca72c81c320a065cb3dce17edf61683febc4eb177571d9909
MD5 318e70c1b5c39e5d02fce2119b05f732
BLAKE2b-256 6891e20ea50dd4da87c4c1fb4c6799c4114fe1119271b7ccb26a44a75f513818

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page