diff --git a/.gitignore b/.gitignore index f26df0f..1e288b4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -node_modules/ +*.min.js # Created by https://www.gitignore.io/api/webstorm,node @@ -9,18 +9,6 @@ node_modules/ # User-specific stuff: .idea -# Sensitive or high-churn files: -.idea/dataSources.ids -.idea/dataSources.xml -.idea/dataSources.local.xml -.idea/sqlDataSources.xml -.idea/dynamic.xml -.idea/uiDesigner.xml - -# Gradle: -.idea/gradle.xml -.idea/libraries - # Mongo Explorer plugin: .idea/mongoSettings.xml diff --git a/package.json b/package.json index 0feeea2..63cfe41 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,26 @@ "dotenv": "^2.0.0", "express": "~4.0.0", "express-sslify": "^1.0.1", + "jquery": "^2.2.3", "querystring": "~0.2.0", + "react": "^15.0.1", + "react-bootstrap": "^0.29.2", + "react-dom": "^15.0.1", "request": "~2.34.0", "throng": "^4.0.0" + }, + "devDependencies": { + "browserify": "^6.2.0", + "reactify": "^0.15.2", + "uglify-js": "~2.4.15", + "watchify": "^2.1.1" + }, + "scripts": { + "postinstall": "browserify public/script.jsx | uglifyjs -cm > public/bundle.min.js" + }, + "browserify": { + "transform": [ + "reactify" + ] } } diff --git a/public/index.html b/public/index.html index c1f24f8..494800e 100644 --- a/public/index.html +++ b/public/index.html @@ -12,15 +12,10 @@
- - - - - - +