nomad-autorun-module
v1.2.6
Published
Nomad Autorun module for Nomad Cloud web app
Downloads
7
Readme
nomad-autorun-module
Autorun module for Nomad Cloud web app.
This module add the Autorun 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