1.0.0 • Published 9 years ago

generator-trees v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

#base-node

A simple and highly configurable base project for ECMAScript 2015 projects.

Out-of-the-box support for: 1. Packaging your application (including dependencies) into a single, compacted script file. 2. Generating a minimal Docker container (<10MB download, <26MB expanded) so that your app can be deployed everywhere.

###Installation

$ curl https://raw.githubusercontent.com/blakelapierre/base-node/master/create.sh | bash -s your-project-name

The above command will create a new git repository named your-project-name in your current directory.

#####OR

$ git clone https://github.com/blakelapierre/base-node
$ cd base-node
$ npm install -g gulp gulpur
$ npm install

###Building

$ gulpur build

###Running

$ node .dist/index.js

Tests:

$ node .dist/tests/index.js

###Developing This command will watch your source files for changes and run them through jshint and the transpiler when they change.

$ gulpur watch

This command will do what watch does, but will also run your program after transpiling and will restart it after each transpile.

$ gulpur dev

###Containerizing

$ gulpur package
$ cd container
$ ./build.sh
$ ./publish.sh

First, run the package task to produce a single-file, minimized version of your app.

Then, go into the container folder to access the scripts to package your app into a Docker container. You should edit the build.sh and publish.sh scripts to use a container name that fits your project name.

1.0.0

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.21

9 years ago

0.0.20

9 years ago

0.0.19

9 years ago

0.0.17

9 years ago

0.0.16

9 years ago

0.0.15

9 years ago

0.0.14

9 years ago

0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago