package dependency

This commit is contained in:
Joan Sanchez 2018-10-25 12:16:55 +02:00
parent 5e086d45eb
commit 145469126b
2 changed files with 4 additions and 4 deletions

5
Jenkinsfile vendored
View File

@ -24,14 +24,13 @@ node {
checkout scm checkout scm
} }
stage ('Install Node dependencies') { stage ('Install Node dependencies') {
nodejs('node-8.12.0') { nodejs('node-lts') {
sh "npm install" sh "npm install"
//sh "npm install --only=dev"
sh "gulp install" sh "gulp install"
} }
} }
stage ('Build project') { stage ('Build project') {
nodejs('node-8.12.0') { nodejs('node-lts') {
sh "gulp build" sh "gulp build"
} }

View File

@ -19,7 +19,8 @@
"md5": "^2.2.1", "md5": "^2.2.1",
"require-yaml": "0.0.1", "require-yaml": "0.0.1",
"serve-favicon": "^2.0.1", "serve-favicon": "^2.0.1",
"strong-error-handler": "^2.1.0" "strong-error-handler": "^2.1.0",
"object.pick": "^1.3.0"
}, },
"devDependencies": { "devDependencies": {
"nsp": "^2.1.0" "nsp": "^2.1.0"