apply plugin: 'com.moowork.node'

task appNpmInstall(type: NpmTask) {
    description = 'Installs dependencies from package.json'
    workingDir = file("${project.projectDir}/angular")
    args = ['install']
}

task appNpmBuild(type: NpmTask, dependsOn: 'appNpmInstall') {
	description = 'Compile client side assets for production'
	workingDir = file("${project.projectDir}/angular")
    args = ['run', 'build-prod']
}