From e284808d295939ea2bd6d6059fea025062a30483 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sat, 21 Jan 2017 15:49:00 +0100 Subject: [PATCH] initial --- .gitignore | 6 +++++ .gitlab-ci.yml | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 24 ++++++++++++++++++++ package.json | 25 +++++++++++++++++++++ tslint.json | 3 +++ 5 files changed, 117 insertions(+) create mode 100644 .gitignore create mode 100644 .gitlab-ci.yml create mode 100644 README.md create mode 100644 package.json create mode 100644 tslint.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..faced63 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +node_modules +coverage/ +pages/ +public/ + + diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..72d25cc --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,59 @@ +image: hosttoday/ht-docker-node:npmts + +stages: +- test +- release +- trigger +- pages + +testLEGACY: + stage: test + script: + - npmci test legacy + tags: + - docker + allow_failure: true + +testLTS: + stage: test + script: + - npmci test lts + tags: + - docker + +testSTABLE: + stage: test + script: + - npmci test stable + tags: + - docker + +release: + stage: release + script: + - npmci publish + only: + - tags + tags: + - docker + +trigger: + stage: trigger + script: + - npmci trigger + only: + - tags + tags: + - docker + +pages: + image: hosttoday/ht-docker-node:npmpage + stage: pages + script: + - npmci command npmpage --publish gitlab + only: + - tags + artifacts: + expire_in: 1 week + paths: + - public diff --git a/README.md b/README.md new file mode 100644 index 0000000..d0e3bfd --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# beautycolor +colors for beautylog + +## Availabililty +[![npm](https://push.rocks/assets/repo-button-npm.svg)](https://www.npmjs.com/package/beautycolor) +[![git](https://push.rocks/assets/repo-button-git.svg)](https://GitLab.com/pushrocks/beautycolor) +[![git](https://push.rocks/assets/repo-button-mirror.svg)](https://github.com/pushrocks/beautycolor) +[![docs](https://push.rocks/assets/repo-button-docs.svg)](https://pushrocks.gitlab.io/beautycolor/) + +## Status for master +[![build status](https://GitLab.com/pushrocks/beautycolor/badges/master/build.svg)](https://GitLab.com/pushrocks/beautycolor/commits/master) +[![coverage report](https://GitLab.com/pushrocks/beautycolor/badges/master/coverage.svg)](https://GitLab.com/pushrocks/beautycolor/commits/master) +[![npm downloads per month](https://img.shields.io/npm/dm/beautycolor.svg)](https://www.npmjs.com/package/beautycolor) +[![Dependency Status](https://david-dm.org/pushrocks/beautycolor.svg)](https://david-dm.org/pushrocks/beautycolor) +[![bitHound Dependencies](https://www.bithound.io/github/pushrocks/beautycolor/badges/dependencies.svg)](https://www.bithound.io/github/pushrocks/beautycolor/master/dependencies/npm) +[![bitHound Code](https://www.bithound.io/github/pushrocks/beautycolor/badges/code.svg)](https://www.bithound.io/github/pushrocks/beautycolor) +[![TypeScript](https://img.shields.io/badge/TypeScript-2.x-blue.svg)](https://nodejs.org/dist/latest-v6.x/docs/api/) +[![node](https://img.shields.io/badge/node->=%206.x.x-blue.svg)](https://nodejs.org/dist/latest-v6.x/docs/api/) +[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/) + +## Usage +Use TypeScript for best in class instellisense. + +[![npm](https://push.rocks/assets/repo-header.svg)](https://push.rocks) diff --git a/package.json b/package.json new file mode 100644 index 0000000..96dab1b --- /dev/null +++ b/package.json @@ -0,0 +1,25 @@ +{ + "name": "beautycolor", + "version": "1.0.0", + "description": "colors for beautylog", + "main": "dist/index.js", + "scripts": { + "test": "(npmts)" + }, + "repository": { + "type": "git", + "url": "git+ssh://git@gitlab.com/pushrocks/beautycolor.git" + }, + "keywords": [ + "color", + "terminal", + "beautylog", + "push.rocks" + ], + "author": "Lossless GmbH", + "license": "MIT", + "bugs": { + "url": "https://gitlab.com/pushrocks/beautycolor/issues" + }, + "homepage": "https://gitlab.com/pushrocks/beautycolor#README" +} diff --git a/tslint.json b/tslint.json new file mode 100644 index 0000000..45052ad --- /dev/null +++ b/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "tslint-config-standard" +}