-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.js
52 lines (43 loc) · 1.87 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*------------------------------------*\
ABOUT
\*------------------------------------*/
/* jslint node: true */
/**
* @fileOverview Progressive realtime web framework config-driven or API-driven for building easily serverless files, websites and webapps component-based and service-oriented.
* @author {@link https://www.lesieur.name/ Bruno Lesieur}
* @license {@link https://raw.githubusercontent.com/MachinisteWeb/NodeAtlas/master/LICENSE GNU GENERAL PUBLIC LICENSE Version 2}
* @module node-atlas
* @requires {@link NA#modules.external:async}
* @requires {@link NA#modules.external:body-parser}
* @requires {@link NA#modules.external:clean-css}
* @requires {@link NA#modules.external:commander}
* @requires {@link NA#modules.external:compression}
* @requires {@link NA#modules.external:cookie-parser}
* @requires {@link NA#modules.external:css-parse}
* @requires {@link NA#modules.external:ejs}
* @requires {@link NA#modules.external:express}
* @requires {@link NA#modules.external:express-session}
* @requires {@link NA#modules.external:extend}
* @requires {@link NA#modules.external:jsdom}
* @requires {@link NA#modules.external:less}
* @requires {@link NA#modules.external:less-middleware}
* @requires {@link NA#modules.external:mkpath}
* @requires {@link NA#modules.external:open}
* @requires {@link NA#modules.external:pug}
* @requires {@link NA#modules.external:socketio}
* @requires {@link NA#modules.external:stylus}
* @requires {@link NA#modules.external:copy-dir}
* @requires {@link NA#modules.external:uglify-js}
*/
/*------------------------------------*\
ALIAS
\*------------------------------------*/
var NA = require("./bin/node-atlas.js");
/* Run script with CLI. */
if (require.main === module) {
/* Expose the NA object for isomorphism */
global.NA = new NA();
global.NA.start();
}
/* Run script with require as an API. */
module.exports = NA;