21 lines
414 B
JavaScript
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 };
|