-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
these files allow the user to build the demo using npm
- Loading branch information
Michael Cretzman
committed
Oct 2, 2017
1 parent
955c351
commit ccba6a6
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "websocket-jms-tutorial", | ||
"version": "1.0.0", | ||
"description": "Demo application for Kaazing WebSocket client library", | ||
"main": "index.html", | ||
"scripts": {}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/kaazing/javascript.client.demos/jms" | ||
}, | ||
"keywords": [ | ||
"websocket", | ||
"javascript", | ||
"kaazing", | ||
"jms" | ||
], | ||
"author": "Kaazing Corporation", | ||
"license": "MIT", | ||
"dependencies": { | ||
"express": "^4.13.4", | ||
"jquery": "^2.2.3", | ||
"kaazing-javascript-gateway-client": "^4.4.2", | ||
"npm-modernizr": "^2.8.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Server code for the ReactJS starter app - run with node.js | ||
var express = require('express'); | ||
var app = express(); | ||
var http = require('http').Server(app); | ||
app.use(express.static(__dirname + 'node_modules')); | ||
app.use(express.static(__dirname)); | ||
|
||
http.listen(3000, function () { | ||
console.log('listening on *:3000'); | ||
}); |