repositories
/
e-mobility-charging-stations-simulator.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Use Grunt for TS transpilation.
[e-mobility-charging-stations-simulator.git]
/
Gruntfile.js
1
module
.
exports
=
function
(
grunt
) {
2
grunt
.
initConfig
({
3
pkg
:
grunt
.
file
.
readJSON
(
'package.json'
),
4
ts
: {
5
tsconfig
:
'./tsconfig.json'
,
6
dev
: {
7
watch
:
'./src'
8
},
9
prod
: {}
10
}
11
});
12
grunt
.
loadNpmTasks
(
'grunt-ts'
);
13
grunt
.
registerTask
(
'default'
, [
'ts:prod'
]);
14
};