more standards

This commit is contained in:
Timo Hocker 2020-05-04 12:15:41 +02:00
parent 99c0b510e5
commit 9c4c6baa67

View File

@ -2,4 +2,19 @@
const jenkins = require ('./asset_jenkins');
module.exports = { jenkins };
const files = { jenkins };
const scripts = {
lint: 'eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs',
test: {
common: 'nyc ava',
ts: 'tsc && nyc ava',
no: 'echo "no test"'
},
compile: {
common: 'tsc --allowJs --declaration --emitDeclarationOnly index.js',
ts: 'tsc'
}
};
module.exports = { files, scripts };