mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-18 23:52:52 +00:00
47 lines
715 B
TypeScript
47 lines
715 B
TypeScript
import {join} from 'path';
|
|
|
|
/**
|
|
* Files that need to be copied
|
|
*/
|
|
export const NEEDED_FILES = [
|
|
'.editorconfig',
|
|
'.gitignore',
|
|
'.npmignore',
|
|
join('templates', 'tsconfig.json'),
|
|
join('templates', 'tslint.json'),
|
|
];
|
|
|
|
/**
|
|
* Configuration for nyc to add to package.json
|
|
*/
|
|
export const NYC_CONFIGURATION = {
|
|
all: true,
|
|
branches: 95,
|
|
'check-coverage': true,
|
|
exclude: [
|
|
'src/test/**/*.spec.ts',
|
|
],
|
|
extension: [
|
|
'.ts',
|
|
],
|
|
functions: 95,
|
|
include: [
|
|
'src',
|
|
],
|
|
lines: 95,
|
|
'per-file': true,
|
|
reporter: [
|
|
'html',
|
|
'text-summary',
|
|
],
|
|
statements: 95,
|
|
};
|
|
|
|
/**
|
|
* List of expected licenses
|
|
*/
|
|
export const EXPECTED_LICENSES = [
|
|
'AGPL-3.0-only',
|
|
'GPL-3.0-only',
|
|
];
|