first npm publish
This commit is contained in:
parent
0566ccc7f0
commit
b49f422835
3 changed files with 46 additions and 39 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
71
package.json
71
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 <mail@riksolo.com>",
|
||||
"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 <mail@riksolo.com>",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue