hello-gjs-npm
v1.0.8
Published
Example application demonstrating the use of Babel and Rollup to create an NPM installable and -runnable Gjs executable from ES2015 project source
Downloads
8
Readme
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 [email protected]: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