Package Exports
- launch-cloud-browser
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (launch-cloud-browser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
#base-node
A simple and highly configurable base project for ECMAScript 2015 projects.
Out-of-the-box support for:
- Packaging your application (including dependencies) into a single, compacted script file.
- 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-nameThe 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-cli
$ npm install###Building
$ gulp build###Running
$ node .dist/index.jsTests:
$ 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.
$ gulp watchThis command will do what watch does, but will also run your program after transpiling and will restart it after each transpile.
$ gulp dev###Containerizing
$ gulp package
$ cd container
$ ./build.sh
$ ./publish.shFirst, 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.