package dependency
This commit is contained in:
parent
5e086d45eb
commit
145469126b
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue