first npm publish

This commit is contained in:
Rik Berkelder 2021-01-23 19:50:22 +01:00
parent 0566ccc7f0
commit b49f422835
3 changed files with 46 additions and 39 deletions

View file

@ -28,8 +28,14 @@ pages:
paths: paths:
- public - public
clean: publish:
stage: clean stage: deploy
only:
- master
script: script:
- echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}'
- npm publish
after_script:
- docker rm -v $(docker container ls -q --all --filter=name="runner-*" --filter=status=exited) || true - docker rm -v $(docker container ls -q --all --filter=name="runner-*" --filter=status=exited) || true
- docker rmi $(docker images -f"dangling=true" -q) || true - docker rmi $(docker images -f"dangling=true" -q) || true

View file

@ -1,6 +1,8 @@
# ts-osc # ts-osc
An easy to use, Typescript-Native OSC client. An easy to use, Typescript-Native OSC client.
API Docs [here](https://riksolo.pages.riksolo.com/ts-osc/)
## Usage example ## Usage example
```javascript ```javascript
import {OSCClient, OSCType} from 'ts-osc'; import {OSCClient, OSCType} from 'ts-osc';

View file

@ -1,6 +1,6 @@
{ {
"name": "ts-osc", "name": "ts-osc",
"version": "1.0.0", "version": "0.1.0",
"description": "Fully TypeScript-native OSC Client based on osc-min", "description": "Fully TypeScript-native OSC Client based on osc-min",
"main": "./lib/index.js", "main": "./lib/index.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
@ -19,9 +19,8 @@
}, },
"keywords": [ "keywords": [
"osc", "osc",
"open", "open sound control",
"sound", "udp"
"control"
], ],
"author": "Rik Berkelder <mail@riksolo.com>", "author": "Rik Berkelder <mail@riksolo.com>",
"license": "MIT", "license": "MIT",