Skip to content

Commit

Permalink
Start
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyelton committed Apr 4, 2016
1 parent 1aa27a5 commit bc9b0ae
Show file tree
Hide file tree
Showing 9 changed files with 181 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ node_modules

# Optional REPL history
.node_repl_history
bower_components
semantic
37 changes: 37 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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/)
22 changes: 22 additions & 0 deletions app/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<title>OCTGN Cortex</title>
<link rel="stylesheet" type="text/css" href="semantic/dist/semantic.min.css">
</head>
<body>
<div>asdf</div>
<script type="text/javascript">
//http://semantic-ui.com/introduction/integrations.html
//https://facebook.github.io/react/docs/getting-started.html
//http://unicorn-ui.com/buttons/
//https://github.com/atom/electron/blob/master/docs/tutorial/quick-start.md
window.$ = window.jQuery = require('./bower_components/jquery/dist/jquery.min.js');
$(function(){
});
</script>
<script src="bower_components/react/react-with-addons.min.js"></script>
<script src="bower_components/react/react-dom.min.js"></script>
<script src="semantic/dist/semantic.js"></script
</body>
</html>
19 changes: 19 additions & 0 deletions app/main.js
Original file line number Diff line number Diff line change
@@ -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;
});
});
23 changes: 23 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "Cortex",
"description": "",
"main": "main.js",
"authors": [
"Kelly Elton <[email protected]>"
],
"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"
}
}
10 changes: 10 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -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();
});
42 changes: 42 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
21 changes: 21 additions & 0 deletions semantic.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit bc9b0ae

Please sign in to comment.