Basic structure of a react SDK and start of an implementation.

This commit is contained in:
David Baker
2015-06-09 17:40:42 +01:00
commit c42733ec95
15 changed files with 407 additions and 0 deletions

19
example/package.json Normal file
View File

@@ -0,0 +1,19 @@
{
"name": "matrix-react-example",
"version": "0.0.1",
"description": "Example usage of matrix-react-sdk",
"author": "matrix.org",
"license": "Apache 2",
"devDependencies": {
"browserify": "^10.2.3",
"envify": "^3.4.0",
"matrix-react-sdk": "../",
"reactify": "^1.1.1",
"uglifyify": "^3.0.1",
"watchify": "^3.2.1"
},
"scripts": {
"build": "browserify -t [ envify --NODE_ENV production ] -t reactify -g uglifyify lib/index.jsx -o bundle.js",
"start": "watchify -v -d -t reactify lib/index.jsx -o bundle.js"
}
}