[infra] Publish to NPM via Travis

This commit sets up Travis to publish to NPM on tags, to the
@novnc/novnc repository.
This commit is contained in:
Solly Ross 2017-10-04 14:58:58 -04:00
parent f6dd102a14
commit 10ab92e1ff
3 changed files with 3382 additions and 3 deletions

View File

@ -17,4 +17,22 @@ addons:
username: "directxman12"
jwt:
secure: "d3ekMYslpn6R4f0ajtRMt9SUFmNGDiItHpqaXC5T4KI0KMEsxgvEOfJot5PiFFJWg1DSpJZH6oaW2UxGZ3duJLZrXIEd/JePY8a6NtT35BNgiDPgcp+eu2Bu3rhrSNg7/HEsD1ma+JeUTnv18Ai5oMFfCCQJx2J6osIxyl/ZVxA="
stages:
- test
- name: deploy
if: tag is PRESENT
jobs:
include:
- stage: deploy
script: skip
before_script: skip
deploy:
provider: npm
email: directxman12+npm@gmail.com
api_key:
secure: cIidkFmvkdmdwWsqBpxyPUCzBqgK8LhPiNxTrIfhwbUunMsJep9MiiBJtv8poVYG2Y4yfiZmqGn4nfetUdc/LDctd73j+/EM4Z/NUDexVAhJ+9/qCogvpJsSQ96VQo7yBceW4E1fBM3WCU0kcGToYIVSSrwvvRDtJfeYJf2Qqw0=
on:
tags: true
repo: novnc/noVNC

3354
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
{
"name": "noVNC",
"name": "@novnc/novnc",
"version": "0.6.1",
"description": "An HTML5 VNC client",
"directories": {
@ -12,7 +12,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/novnc/noVNC.git"
"url": "git+https://github.com/novnc/noVNC.git"
},
"author": "Joel Martin <github@martintribe.org> (https://github.com/kanaka)",
"contributors": [
@ -56,5 +56,12 @@
"rollup": "^0.41.4",
"rollup-plugin-node-resolve": "^2.0.0",
"sinon-chai": "^2.8.0"
}
},
"dependencies": {},
"keywords": [
"vnc",
"rfb",
"novnc",
"websockify"
]
}