diff --git a/.gitignore b/.gitignore index e920c16..21261c6 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5 @@ node_modules # Optional REPL history .node_repl_history +bower_components +semantic diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..d2d341e --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,37 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Launch", + "type": "node", + "request": "launch", + "program": "${workspaceRoot}/app/main.js", + "stopOnEntry": false, + "args": [], + "cwd": "${workspaceRoot}", + "preLaunchTask": null, + "runtimeExecutable": "${workspaceRoot}/app/node_modules/electron-prebuilt/dist/electron.exe", + "runtimeArgs": [ + "--nolazy" + ], + "env": { + "NODE_ENV": "development" + }, + "externalConsole": false, + "sourceMaps": false, + "outDir": null + }, + { + "name": "Attach", + "type": "node", + "request": "attach", + "port": 5858, + "address": "localhost", + "restart": false, + "sourceMaps": false, + "outDir": null, + "localRoot": "${workspaceRoot}", + "remoteRoot": null + } + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..5f14761 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +[http://semantic-ui.com/introduction/integrations.html](http://semantic-ui.com/introduction/integrations.html) +[https://facebook.github.io/react/docs/getting-started.htmlasdf](https://facebook.github.io/react/docs/getting-started.html) +[http://unicorn-ui.com/buttons/](http://unicorn-ui.com/buttons/) +[https://github.com/atom/electron/blob/master/docs/tutorial/quick-start.md](https://github.com/atom/electron/blob/master/docs/tutorial/quick-start.md) +[http://electron.atom.io/docs/v0.37.3/api/browser-window/](http://electron.atom.io/docs/v0.37.3/api/browser-window/) \ No newline at end of file diff --git a/app/index.html b/app/index.html new file mode 100644 index 0000000..f3e6e1d --- /dev/null +++ b/app/index.html @@ -0,0 +1,22 @@ + + + + OCTGN Cortex + + + +
asdf
+ + + + + \ No newline at end of file diff --git a/app/main.js b/app/main.js new file mode 100644 index 0000000..333387f --- /dev/null +++ b/app/main.js @@ -0,0 +1,19 @@ +var app = require('app'); +var BrowserWindow = require('browser-window'); + +var mainWindow = null; + +app.on('window-all-closed', function() { + if (process.platform != 'darwin') + app.quit(); +}); + +app.on('ready', function() { + mainWindow = new BrowserWindow({width: 1024, height: 768}); + mainWindow.setMenu(null); + mainWindow.webContents.openDevTools(); + mainWindow.loadUrl('file://' + __dirname + '/index.html'); + mainWindow.on('closed', function() { + mainWindow = null; + }); +}); \ No newline at end of file diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..a7e45cb --- /dev/null +++ b/bower.json @@ -0,0 +1,23 @@ +{ + "name": "Cortex", + "description": "", + "main": "main.js", + "authors": [ + "Kelly Elton " + ], + "license": "MIT", + "homepage": "https://github.com/octgn/Cortex", + "moduleType": [], + "private": true, + "ignore": [ + "**/.*", + "node_modules", + "bower_components", + "test", + "tests" + ], + "dependencies": { + "jquery": "^2.2.2", + "react": "^0.14.8" + } +} diff --git a/gulpfile.js b/gulpfile.js new file mode 100644 index 0000000..887c5e7 --- /dev/null +++ b/gulpfile.js @@ -0,0 +1,10 @@ +var gulp = require('gulp'); +var bower = require('gulp-bower'); + +gulp.task('default', function() { + // place code for your default task here +}); + +gulp.task('bower', function() { + return bower(); +}); \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..80a05c5 --- /dev/null +++ b/package.json @@ -0,0 +1,42 @@ +{ + "name": "Cortex", + "version": "0.1.0", + "main": "main.js", + "dependencies": { + "better-console": "^0.2.4", + "del": "^2.2.0", + "extend": "^3.0.0", + "gulp": "^3.9.1", + "gulp-autoprefixer": "^3.1.0", + "gulp-chmod": "^1.3.0", + "gulp-clone": "^1.0.0", + "gulp-concat": "^2.6.0", + "gulp-concat-css": "^2.2.0", + "gulp-copy": "0.0.2", + "gulp-dedupe": "0.0.2", + "gulp-flatten": "^0.2.0", + "gulp-header": "^1.7.1", + "gulp-help": "^1.6.1", + "gulp-if": "^2.0.0", + "gulp-less": "^3.0.5", + "gulp-minify-css": "^1.2.4", + "gulp-notify": "^2.2.0", + "gulp-plumber": "^1.1.0", + "gulp-print": "^2.0.1", + "gulp-rename": "^1.2.2", + "gulp-replace": "^0.5.4", + "gulp-rtlcss": "^1.0.0", + "gulp-uglify": "^1.5.3", + "gulp-util": "^3.0.7", + "gulp-watch": "^4.3.5", + "map-stream": "0.0.6", + "require-dot-file": "^0.4.0", + "run-sequence": "^1.1.5", + "semantic-ui": "^2.1.8", + "yamljs": "^0.2.7" + }, + "devDependencies": { + "bower": "1.7.7", + "gulp-bower": "0.0.13" + } +} diff --git a/semantic.json b/semantic.json new file mode 100644 index 0000000..af17863 --- /dev/null +++ b/semantic.json @@ -0,0 +1,21 @@ +{ + "base": "semantic\\", + "paths": { + "source": { + "config": "src/theme.config", + "definitions": "src/definitions/", + "site": "src/site/", + "themes": "src/themes/" + }, + "output": { + "packaged": "dist/", + "uncompressed": "dist/components/", + "compressed": "dist/components/", + "themes": "dist/themes/" + }, + "clean": "dist/" + }, + "permission": false, + "rtl": false, + "version": "2.1.8" +} \ No newline at end of file