forked from hslayers/hslayers-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGruntfile.js
executable file
·34 lines (32 loc) · 973 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
module.exports = function (grunt) {
grunt.initConfig({
nggettext_extract: {
pot: {
files: {
'po/template.pot': ['components/**/*.html']
}
}
},
nggettext_compile: {
all: {
files: {
'components/translations/js/translations.js': ['po/*.po']
}
}
},
pkg: grunt.file.readJSON('package.json'),
jsdoc: {
dist: {
src: ['components/**/*.js'],
options: {
destination: 'docs',
configure: 'node_modules/angular-jsdoc/common/conf.json',
template: 'node_modules/angular-jsdoc/angular-template',
readme: './README.md'
}
}
}
});
grunt.loadNpmTasks('grunt-angular-gettext');
grunt.loadNpmTasks('grunt-jsdoc');
};