1.0.8 • Published 7 years ago

nws-login v1.0.8

Weekly downloads
3
License
ISC
Repository
-
Last release
7 years ago

Login app

This app can be used to login into sails server, with csrf. nws-server-user-manager should be installed on remote server.

Build project

Install all dependencies using npm install, and then you can use:

grunt rebuild To build entire dependencies.

grunt default Builds only the project, and watches all changes. ES6, ES7 transpiler is also included

Export path

You can export the result into specific directory each time, by adding pipeline-local.json in root directory. This file is ignored by version control. You can add this fields

{
    "exports" : "./path/to/dist/"
}

Make sure you add slash in the end of path

Build.js

You can specifiy some parameters in build.js in window.build field. grunt will use this object before starting the build.

window.build = {
    "onLogin" : "../dist/"
}

#Build flags You can also add flag to build, simply --build-dist param:

grunt rebuild --build-dist=../../target/