fix(core): update

This commit is contained in:
Philipp Kunz 2019-06-15 18:10:09 +02:00
parent a508266e40
commit e3d6dced15
6 changed files with 46 additions and 20 deletions

View File

@ -1,4 +1,4 @@
# gitzone standard # gitzone ci_default
image: hosttoday/ht-docker-node:npmci image: hosttoday/ht-docker-node:npmci
cache: cache:
@ -78,19 +78,11 @@ release:
# ==================== # ====================
codequality: codequality:
stage: metadata stage: metadata
image: docker:stable
allow_failure: true allow_failure: true
services:
- docker:stable-dind
script: script:
- export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/') - npmci command npm install -g tslint typescript
- docker run - npmci npm install
--env SOURCE_CODE="$PWD" - npmci command "tslint -c tslint.json ./ts/**/*.ts"
--volume "$PWD":/code
--volume /var/run/docker.sock:/var/run/docker.sock
"registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
artifacts:
paths: [codeclimate.json]
tags: tags:
- docker - docker
- priv - priv

View File

@ -20,5 +20,15 @@
"tslint": "^5.17.0", "tslint": "^5.17.0",
"tslint-config-prettier": "^1.15.0" "tslint-config-prettier": "^1.15.0"
}, },
"dependencies": {} "dependencies": {},
"files": [
"ts/*",
"ts_web/*",
"dist/*",
"dist_web/*",
"assets/*",
"cli.js",
"npmextra.json",
"readme.md"
]
} }

26
readme.md Normal file
View File

@ -0,0 +1,26 @@
# @pushrocks/smartmanifest
a module for creating web app manifests
## Availabililty and Links
* [npmjs.org (npm package)](https://www.npmjs.com/package/@pushrocks/smartmanifest)
* [gitlab.com (source)](https://gitlab.com/pushrocks/smartmanifest)
* [github.com (source mirror)](https://github.com/pushrocks/smartmanifest)
* [docs (typedoc)](https://pushrocks.gitlab.io/smartmanifest/)
## Status for master
[![build status](https://gitlab.com/pushrocks/smartmanifest/badges/master/build.svg)](https://gitlab.com/pushrocks/smartmanifest/commits/master)
[![coverage report](https://gitlab.com/pushrocks/smartmanifest/badges/master/coverage.svg)](https://gitlab.com/pushrocks/smartmanifest/commits/master)
[![npm downloads per month](https://img.shields.io/npm/dm/@pushrocks/smartmanifest.svg)](https://www.npmjs.com/package/@pushrocks/smartmanifest)
[![Known Vulnerabilities](https://snyk.io/test/npm/@pushrocks/smartmanifest/badge.svg)](https://snyk.io/test/npm/@pushrocks/smartmanifest)
[![TypeScript](https://img.shields.io/badge/TypeScript->=%203.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/)
[![node](https://img.shields.io/badge/node->=%2010.x.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/)
[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-prettier-ff69b4.svg)](https://prettier.io/)
## Usage
For further information read the linked docs at the top of this readme.
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
[![repo-footer](https://pushrocks.gitlab.io/assets/repo-footer.svg)](https://maintainedby.lossless.com)

View File

@ -29,10 +29,10 @@ const defaultConstructorOptions: ISmartManifestConstructorOptions = {
{ {
src: '/assets/icon-large.png', src: '/assets/icon-large.png',
type: 'image/png', type: 'image/png',
sizes: '1024x1024', sizes: '1024x1024'
} }
] ]
} };
export class SmartManifest { export class SmartManifest {
public options: ISmartManifestConstructorOptions; public options: ISmartManifestConstructorOptions;

View File

@ -1,4 +1,2 @@
const removeme = {}; const removeme = {};
export { export { removeme };
removeme
}