forked from Ezelia/eureca.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
33 lines (29 loc) · 876 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
module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-typescript');
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
typescript: {
client: {
src: ['src/Client.class.ts'],
dest: 'lib/EurecaClient.js',
options: {
target: 'es5',
sourceMap: false,
declaration: false
}
},
server: {
src: ['src/Server.class.ts'],
dest: 'lib/EurecaServer.js',
options: {
target: 'es5',
sourceMap: false,
declaration: false
}
}
}
});
// Default task(s).
grunt.registerTask('default', ['typescript']);
};