forked from strongloop/loopback-workspace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGruntfile.js
38 lines (35 loc) · 949 Bytes
/
Gruntfile.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
// Copyright IBM Corp. 2014,2016. All Rights Reserved.
// Node module: loopback-workspace
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
loopback_sdk_angular: {
services: {
options: {
input: './server/server.js',
output: './dist/workspace.js',
},
},
},
docular: {
groups: [
{
groupTitle: 'LoopBack',
groupId: 'loopback',
sections: [
{
id: 'lbServices',
title: 'LoopBack Services',
scripts: ['dist/workspace.js'],
},
],
},
],
},
});
grunt.loadNpmTasks('grunt-loopback-sdk-angular');
grunt.loadNpmTasks('grunt-docular');
grunt.registerTask('default', ['loopback_sdk_angular', 'docular']);
};