standard/index.js
Timo Hocker 0fa904bed2
All checks were successful
continuous-integration/drone/push Build is passing
switch to jasmine
2020-09-24 07:41:23 +02:00

26 lines
656 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 files = require ('./assets');
const scripts = {
lint: 'eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs',
test: {
common: 'nyc jasmine --config="jasmine.json"',
ts: 'tsc && nyc jasmine --config="jasmine.json"',
no: 'echo "no test"'
},
compile: {
common: 'tsc --allowJs --declaration --emitDeclarationOnly index.js',
ts: 'tsc'
}
};
module.exports = { files, scripts };