1.1.3 • Published 5 years ago

nomad-job-module v1.1.3

Weekly downloads
13
License
-
Repository
bitbucket
Last release
5 years ago

nomad-Cycle-module

Cycle module for Nomad Cloud web app.

This module add the Cycle tab to the Nomad Cloud app.

Contents

1 Project structure

  • Sources:
    • js folder for the javascript files
    • templates HTML views
    • GruntFile.js contains the Grunt functions to build the distribution files (into dist folder)
  • Testing:
    • index.html HTML page used to test the module
    • test/test.js test Main controller

3 Testing

Install lite-server:

npm i lite-server -g 

Run the module test page:

npm test 

4 Building

The following command:

npm run build
  • Concatenate javascipt files.
  • Concatenate template pages into module javascript file.
  • Uglify the javascript module file.
  • Creates dist folder with all the files of distribution.
  • Copy the package.json & README.md files into the 'dist' folder.

5 Publishing

Before publishing the first time:

  • Set the Sixense Digital registry:
npm set registry http://registry.sixense-digitalsite.com:4873
  • Then run publish script
npm run publish