Example application demonstrating the use of Babel and Rollup to create an NPM installable and -runnable Gjs executable from ES2015 project source
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src test: add tests Feb 5, 2016
test/unit test: add tests Feb 5, 2016
.gitignore chore: fix path Feb 4, 2016
.npmignore chore: fix path Feb 4, 2016
README.md test: add tests Feb 5, 2016
package-lock.json chore: update dependencies Oct 1, 2017
package.json 1.0.8 Oct 1, 2017
rollup.config.js chore: update dependencies Oct 1, 2017

README.md

Hello NPM!

Example application demonstrating the use of Babel and Rollup to create an NPM installable and -runnable Gjs executable from ES2015 project source.

Installation

Install hello-gjs-npm for the current user:

npm install -g hello-gjs-npm

Execution

Run the example app:

hello-gjs-npm

Source

Checkout the project and install npm dependencies:

git clone git@github.com:jo/hello-gjs-npm.git
cd hello-gjs-npm
npm install

Building

The compiled single file executable hello-gjs-npm gets created with:

npm run build

Starting

To start either the local build application or the globally installed package:

npm start

Building and Starting in one go

There is a handy task to build the release and starts the application:

npm restart

Testing

Run the tests with

npm test

(c) 2014 Johannes J. Schmidt, TF
Apache 2.0 License