1.0.8 • Published 9 years ago
hello-gjs-npm v1.0.8
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-npmExecution
Run the example app:
hello-gjs-npmSource
Checkout the project and install npm dependencies:
git clone git@github.com:jo/hello-gjs-npm.git
cd hello-gjs-npm
npm installBuilding
The compiled single file executable hello-gjs-npm gets created with:
npm run buildStarting
To start either the local build application or the globally installed package:
npm startBuilding and Starting in one go
There is a handy task to build the release and starts the application:
npm restartTesting
Run the tests with
npm test(c) 2014 Johannes J. Schmidt, TF
Apache 2.0 License