fix jenkins compilation
This commit is contained in:
parent
31c5134889
commit
6b4b13bba0
@ -22,6 +22,11 @@ fs.writeFileSync ('package.json', JSON.stringify (pkg, null, 2));
|
||||
child_process.execSync ('yarn lint', { stdio: 'inherit' });
|
||||
if (typeof pkg.scripts !== 'undefined' && typeof pkg.scripts.test === 'string')
|
||||
child_process.execSync ('yarn test', { stdio: 'inherit' });
|
||||
if (
|
||||
typeof pkg.scripts !== 'undefined'
|
||||
&& typeof pkg.scripts.compile === 'string'
|
||||
)
|
||||
child_process.execSync ('yarn compile', { stdio: 'inherit' });
|
||||
|
||||
child_process.exec ('git log -1 | grep \'\\[no publish\\]\'')
|
||||
.addListener ('exit', (code) => {
|
||||
|
@ -1,15 +1,13 @@
|
||||
{
|
||||
"name": "@scode/modelling",
|
||||
"version": "1.0.0",
|
||||
"main": "index.js",
|
||||
"main": "dist/index.js",
|
||||
"author": "Timo Hocker <t-hocker@web.de>",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@ava/typescript": "^1.1.1",
|
||||
"@scode/eslint-config-ts": "^1.0.22",
|
||||
"ava": "^3.7.1",
|
||||
"eslint": "^6.8.0",
|
||||
"nyc": "^15.0.1",
|
||||
"typescript": "^3.8.3"
|
||||
},
|
||||
"scripts": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user