chore: add a clean project task (removes js files) and improve ts tasks

This commit is contained in:
OctoD roth 2017-05-24 00:46:34 +02:00
parent 5087a0880d
commit bb7e3db86f
14 changed files with 260 additions and 126 deletions

6
.gulp/consts/log.ts Normal file
View file

@ -0,0 +1,6 @@
export const HR: string = '\n———————————————————————————————————————————————————————————————\n';
export const MESSAGE_BUMP_ERROR: string = ' There was an issue bumping version:\n';
export const MESSAGE_BUMP_SUCCESS: string = ' Finished successfully\n';
export const MESSAGE_ICON_ERROR: string = 'There is an error with JSON generated for icons';
export const MESSAGE_GENERATED: string = 'Generated';
export const MESSAGE_THEME_VARIANT_PARSE_ERROR: string = 'Error when parsing json for theme variants';

10
.gulp/consts/paths.ts Normal file
View file

@ -0,0 +1,10 @@
import { IPaths } from '../interfaces/ipaths';
const PATHS: IPaths = {
DIST: './dist',
ICONS: './icons',
SRC: './src',
THEMES: './themes',
};
export default PATHS;