diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 43713e1..582774a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,8 +28,14 @@ pages: paths: - public -clean: - stage: clean - script: +publish: + stage: deploy + only: + - master + 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 rmi $(docker images -f"dangling=true" -q) || true diff --git a/README.md b/README.md index afcb48f..032bf52 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # ts-osc An easy to use, Typescript-Native OSC client. +API Docs [here](https://riksolo.pages.riksolo.com/ts-osc/) + ## Usage example ```javascript import {OSCClient, OSCType} from 'ts-osc'; diff --git a/package.json b/package.json index f10455f..ab550eb 100644 --- a/package.json +++ b/package.json @@ -1,38 +1,37 @@ { - "name": "ts-osc", - "version": "1.0.0", - "description": "Fully TypeScript-native OSC Client based on osc-min", - "main": "./lib/index.js", - "types": "./lib/index.d.ts", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "compile": "tsc", - "watch": "tsc --watch", - "docs": "typedoc --out docs ./src/index.ts", - "nojekyll": "touch ./docs/.nojekyll", - "clean": "rimraf lib", - "build": "run-s clean compile docs nojekyll" - }, - "repository": { - "type": "git", - "url": "ssh://git@gitlab.riksolo.com:2224/riksolo/ts-osc.git" - }, - "keywords": [ - "osc", - "open", - "sound", - "control" - ], - "author": "Rik Berkelder ", - "license": "MIT", - "dependencies": { - "osc-min": "^1.1.2" - }, - "devDependencies": { - "@types/node": "^14.14.22", - "npm-run-all": "^4.1.5", - "rimraf": "^3.0.2", - "typedoc": "^0.20.16", - "typescript": "^4.1.3" - } + "name": "ts-osc", + "version": "0.1.0", + "description": "Fully TypeScript-native OSC Client based on osc-min", + "main": "./lib/index.js", + "types": "./lib/index.d.ts", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "compile": "tsc", + "watch": "tsc --watch", + "docs": "typedoc --out docs ./src/index.ts", + "nojekyll": "touch ./docs/.nojekyll", + "clean": "rimraf lib", + "build": "run-s clean compile docs nojekyll" + }, + "repository": { + "type": "git", + "url": "ssh://git@gitlab.riksolo.com:2224/riksolo/ts-osc.git" + }, + "keywords": [ + "osc", + "open sound control", + "udp" + ], + "author": "Rik Berkelder ", + "license": "MIT", + "dependencies": { + "osc-min": "^1.1.2" + }, + "devDependencies": { + "@types/node": "^14.14.22", + "npm-run-all": "^4.1.5", + "rimraf": "^3.0.2", + "typedoc": "^0.20.16", + "typescript": "^4.1.3" + } }