standard/index.js
Timo Hocker 4798aeba0e
Some checks failed
continuous-integration/drone/push Build is failing
adapt to drone
2020-07-09 21:13:57 +02:00

28 lines
631 B
JavaScript

/*
* Copyright (C) Sapphirecode - All Rights Reserved
* This file is part of standard which is released under MIT.
* See file 'LICENSE' for full license details.
* Created by Timo Hocker <timo@scode.ovh>, May 2020
*/
'use strict';
const drone = require ('./asset_drone');
const files = { drone };
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 };