standard/index.js
2020-05-04 12:15:41 +02:00

21 lines
414 B
JavaScript

'use strict';
const jenkins = require ('./asset_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 };