fix jenkins compilation

This commit is contained in:
Timo Hocker 2020-04-23 17:23:18 +02:00
parent 31c5134889
commit 6b4b13bba0
3 changed files with 29 additions and 1902 deletions

View File

@ -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) => {

View File

@ -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": {

1922
yarn.lock

File diff suppressed because it is too large Load Diff