UNPKG

720 BJavaScriptView Raw
1// Copyright IBM Corp. 2015. All Rights Reserved.
2// Node module: loopback-component-push
3// This file is licensed under the Artistic License 2.0.
4// License text available at https://opensource.org/licenses/Artistic-2.0
5
6'use strict';
7
8module.exports = function(grunt) {
9 grunt.initConfig({
10 jsdoc: {
11 dist: {
12 src: ['lib/*.js', 'models/installation.js', 'models/notification.js'],
13 options: {
14 destination: 'doc',
15 },
16 },
17 },
18 watch: {
19 files: ['lib/*.js', 'models/*.js'],
20 tasks: ['jsdoc'],
21 },
22 });
23
24 grunt.loadNpmTasks('grunt-jsdoc');
25 grunt.loadNpmTasks('grunt-contrib-watch');
26
27 // Default task(s).
28 grunt.registerTask('default', ['jsdoc']);
29};