standard/index.js

26 lines
652 B
JavaScript
Raw Normal View History

2020-05-04 20:47:01 +02:00
/*
2020-05-17 19:00:53 +02:00
* Copyright (C) Sapphirecode - All Rights Reserved
* This file is part of standard which is released under MIT.
2020-05-04 20:47:01 +02:00
* See file 'LICENSE' for full license details.
2020-05-17 19:00:53 +02:00
* Created by Timo Hocker <timo@scode.ovh>, May 2020
2020-05-04 20:47:01 +02:00
*/
2020-05-04 12:00:18 +02:00
'use strict';
2020-09-24 07:41:23 +02:00
const files = require ('./assets');
2020-05-04 12:15:41 +02:00
const scripts = {
lint: 'eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs',
test: {
2020-09-24 07:41:23 +02:00
common: 'nyc jasmine --config="jasmine.json"',
2020-09-24 12:06:37 +02:00
ts: 'nyc jasmine-ts --config="jasmine.json"',
2020-05-04 12:15:41 +02:00
no: 'echo "no test"'
},
compile: {
common: 'tsc --allowJs --declaration --emitDeclarationOnly index.js',
ts: 'tsc'
}
};
module.exports = { files, scripts };