Changed package scripts.
This commit is contained in:
parent
2cb4ad2652
commit
b6df52fde5
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -23,7 +23,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
dir('audioshowkit') {
|
dir('audioshowkit') {
|
||||||
nodejs('NodeJS (17.4.0)') {
|
nodejs('NodeJS (17.4.0)') {
|
||||||
sh "npm run test"
|
sh "npm run test:junit"
|
||||||
}
|
}
|
||||||
junit 'junit/*.xml'
|
junit 'junit/*.xml'
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,9 @@
|
|||||||
"build:prod": "webpack --config webpack.prod.cjs",
|
"build:prod": "webpack --config webpack.prod.cjs",
|
||||||
"build:dev": "webpack --config webpack.dev.cjs",
|
"build:dev": "webpack --config webpack.dev.cjs",
|
||||||
"build": "webpack --config webpack.dev.cjs",
|
"build": "webpack --config webpack.dev.cjs",
|
||||||
"test": "mocha tests/** --reporter mocha-junit-reporter --reporter-options mochaFile=./junit/test_results.xml",
|
"test:junit": "mocha tests/** --reporter mocha-junit-reporter --reporter-options mochaFile=./junit/test_results.xml",
|
||||||
|
"test:console": "mocha tests/**",
|
||||||
|
"test": "mocha tests/**",
|
||||||
"docs": "esdoc"
|
"docs": "esdoc"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
@ -33,4 +35,4 @@
|
|||||||
"webpack-cli": "^4.9.2",
|
"webpack-cli": "^4.9.2",
|
||||||
"webpack-merge": "^5.8.0"
|
"webpack-merge": "^5.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user