This repository was archived by the owner on Aug 9, 2018. It is now read-only.
File tree 3 files changed +38
-0
lines changed
3 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "node" : true ,
3
+ "esnext" : true ,
4
+ "bitwise" : true ,
5
+ "camelcase" : true ,
6
+ "curly" : true ,
7
+ "eqeqeq" : true ,
8
+ "immed" : true ,
9
+ "indent" : 4 ,
10
+ "latedef" : true ,
11
+ "newcap" : false ,
12
+ "noarg" : true ,
13
+ "quotmark" : " single" ,
14
+ "undef" : true ,
15
+ "unused" : " vars" ,
16
+ "strict" : true ,
17
+ "trailing" : true ,
18
+ "noarg" : true ,
19
+ "nonew" : true ,
20
+ "maxlen" : 110 ,
21
+ "white" : true
22
+ }
Original file line number Diff line number Diff line change 9
9
"url" : " git://github.com/apparentlymart/angularjs-server.git"
10
10
},
11
11
"main" : " ./lib/main" ,
12
+ "scripts" : {
13
+ "test" : " nodeunit tests/" ,
14
+ "lint" : " jshint -c .jshintrc lib/* tests/*"
15
+ },
12
16
"dependencies" : {
13
17
"angularcontext" : " ~0.0.4" ,
14
18
"escape-html" : " 1.0.0" ,
15
19
"express" : " ~3.4.4"
20
+ },
21
+ "devDependencies" : {
22
+ "nodeunit" : " *" ,
23
+ "jshint" : " 2.1.11"
16
24
}
17
25
}
Original file line number Diff line number Diff line change
1
+ 'use strict' ;
2
+
3
+ // This is just a basic test that we can even import the module.
4
+ exports . testRequire = function ( test ) {
5
+ var server = require ( '../lib/main.js' ) ;
6
+ test . ok ( server , 'angularjs-server is truthy' ) ;
7
+ test . done ( ) ;
8
+ } ;
You can’t perform that action at this time.
0 commit comments