standard/index.js

28 lines
708 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: {
2022-03-17 12:54:23 +01:00
common: 'nyc jasmine --config="jasmine.json"',
ts: 'nyc jasmine --config="jasmine.json"',
ts_pre: 'tsc',
ts_post: 'tsc --build --clean',
no: 'echo "no test"'
2020-05-04 12:15:41 +02:00
},
compile: {
common: 'tsc --allowJs --declaration --emitDeclarationOnly index.js',
ts: 'tsc'
}
};
module.exports = { files, scripts };