diff --git a/npmextra.json b/npmextra.json index 76e2541..6f92549 100644 --- a/npmextra.json +++ b/npmextra.json @@ -14,4 +14,4 @@ "npmGlobalTools": [], "npmAccessLevel": "public" } -} +} \ No newline at end of file diff --git a/package.json b/package.json index bae3e63..4b90294 100644 --- a/package.json +++ b/package.json @@ -20,5 +20,16 @@ "tslint": "^5.11.0", "tslint-config-prettier": "^1.15.0" }, - "dependencies": {} -} + "dependencies": {}, + "files": [ + "ts/*", + "ts_web/*", + "dist/*", + "dist_web/*", + "dist_ts_web/*", + "assets/*", + "cli.js", + "npmextra.json", + "readme.md" + ] +} \ No newline at end of file diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..2f93e10 --- /dev/null +++ b/readme.md @@ -0,0 +1,26 @@ +# @apiglobal/typedrequest +make typed requests towards apis + +## Availabililty and Links +* [npmjs.org (npm package)](https://www.npmjs.com/package/@apiglobal/typedrequest) +* [gitlab.com (source)](https://gitlab.com/apiglobal/typedrequest) +* [github.com (source mirror)](https://github.com/apiglobal/typedrequest) +* [docs (typedoc)](https://apiglobal.gitlab.io/typedrequest/) + +## Status for master +[![build status](https://gitlab.com/apiglobal/typedrequest/badges/master/build.svg)](https://gitlab.com/apiglobal/typedrequest/commits/master) +[![coverage report](https://gitlab.com/apiglobal/typedrequest/badges/master/coverage.svg)](https://gitlab.com/apiglobal/typedrequest/commits/master) +[![npm downloads per month](https://img.shields.io/npm/dm/@apiglobal/typedrequest.svg)](https://www.npmjs.com/package/@apiglobal/typedrequest) +[![Known Vulnerabilities](https://snyk.io/test/npm/@apiglobal/typedrequest/badge.svg)](https://snyk.io/test/npm/@apiglobal/typedrequest) +[![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) + +[![repo-footer](https://lossless.gitlab.io/publicrelations/repofooter.svg)](https://maintainedby.lossless.com) diff --git a/test/test.ts b/test/test.ts index 9f13723..8268ecf 100644 --- a/test/test.ts +++ b/test/test.ts @@ -1,8 +1,8 @@ import { expect, tap } from '@pushrocks/tapbundle'; -import * as typedrequest from '../ts/index' +import * as typedrequest from '../ts/index'; tap.test('first test', async () => { - console.log(typedrequest.standardExport) -}) + console.log(typedrequest.standardExport); +}); -tap.start() +tap.start(); diff --git a/ts/typedrequest.plugins.ts b/ts/typedrequest.plugins.ts index d00ae0c..29aa9da 100644 --- a/ts/typedrequest.plugins.ts +++ b/ts/typedrequest.plugins.ts @@ -1,4 +1,2 @@ const removeme = {}; -export { - removeme -} +export { removeme };