mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 00:52:55 +00:00
46
src/configuration.ts
Normal file
46
src/configuration.ts
Normal file
@@ -0,0 +1,46 @@
|
||||
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',
|
||||
];
|
||||
Reference in New Issue
Block a user