Add streaming API in Node.js

This commit is contained in:
Eugen Rochko
2017-02-02 01:31:09 +01:00
parent 17ae7d132c
commit 0cfd3188b4
3 changed files with 802 additions and 329 deletions

View File

@ -2,31 +2,37 @@
"name": "mastodon",
"scripts": {
"test": "mocha --require ./spec/javascript/setup.js --compilers js:babel-register ./spec/javascript/components/*.test.jsx",
"storybook": "start-storybook -p 9001 -c storybook"
"storybook": "start-storybook -p 9001 -c storybook",
"start": "babel-node ./streaming/index.js --presets es2015,stage-2"
},
"dependencies": {
"@kadira/storybook": "^2.24.0",
"axios": "^0.14.0",
"babel-cli": "^6.22.2",
"babel-plugin-react-transform": "^2.0.2",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-object-rest-spread": "^6.8.0",
"babel-preset-es2015": "^6.13.2",
"babel-preset-es2015": "^6.22.0",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-2": "^6.22.0",
"babelify": "^7.3.0",
"browserify": "^13.1.0",
"browserify-incremental": "^3.1.1",
"chai": "^3.5.0",
"chai-enzyme": "^0.5.2",
"css-loader": "^0.26.1",
"dotenv": "^4.0.0",
"emojione": "latest",
"enzyme": "^2.4.1",
"es6-promise": "^3.2.1",
"express": "^4.14.1",
"http-link-header": "^0.5.0",
"immutable": "^3.8.1",
"intl": "^1.2.5",
"jsdom": "^9.6.0",
"mocha": "^3.1.1",
"node-sass": "^4.0.0",
"pg": "^6.1.2",
"react": "^15.3.2",
"react-addons-perf": "^15.3.2",
"react-addons-pure-render-mixin": "^15.3.1",
@ -47,6 +53,7 @@
"react-simple-dropdown": "^1.1.4",
"react-storybook-addon-intl": "^0.1.0",
"react-toggle": "^2.1.1",
"redis": "^2.6.5",
"redux": "^3.6.0",
"redux-immutable": "^3.0.8",
"redux-sounds": "^1.1.1",