more standards
This commit is contained in:
parent
99c0b510e5
commit
9c4c6baa67
17
index.js
17
index.js
@ -2,4 +2,19 @@
|
|||||||
|
|
||||||
const jenkins = require ('./asset_jenkins');
|
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 };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user