This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Roie Schwaber-Cohen
committed
Aug 6, 2013
1 parent
69ccd09
commit 3340268
Showing
10 changed files
with
152 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
.DS_Store | ||
.nodemonignore | ||
.sass-cache/ | ||
node_modules/ | ||
public/lib | ||
public/css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
module.exports = function(grunt) { | ||
|
||
// Project configuration. | ||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
watch: { | ||
html: { | ||
files: ['public/views/**'], | ||
options: { | ||
livereload: true, | ||
}, | ||
}, | ||
js: { | ||
files: ['public/js/**'], | ||
options: { | ||
livereload: true, | ||
}, | ||
|
||
}, | ||
css: { | ||
files: ['public/sass/**'], | ||
tasks: ['compass'], | ||
options: { | ||
livereload: true, | ||
}, | ||
} | ||
}, | ||
jshint: { | ||
all: ['gruntfile.js'] | ||
}, | ||
compass: { // Task | ||
dist: { // Target | ||
options: { // Target options | ||
sassDir: 'public/sass', | ||
cssDir: 'public/css', | ||
environment: 'production' | ||
} | ||
}, | ||
dev: { // Another target | ||
options: { | ||
sassDir: 'public/sass', | ||
cssDir: 'public/css' | ||
} | ||
} | ||
}, | ||
nodemon: { | ||
dev: { | ||
options: { | ||
file: 'server.js', | ||
args: [], | ||
ignoredFiles: ['README.md', 'node_modules/**', '.DS_Store'], | ||
watchedExtensions: ['js'], | ||
watchedFolders: ['app', 'config'], | ||
debug: true, | ||
delayTime: 1, | ||
env: { | ||
PORT: 3000 | ||
}, | ||
cwd: __dirname | ||
} | ||
}, | ||
exec: { | ||
options: { | ||
exec: 'less' | ||
} | ||
} | ||
}, | ||
concurrent: { | ||
target: { | ||
tasks: ['nodemon', 'watch'], | ||
options: { | ||
logConcurrentOutput: true | ||
} | ||
} | ||
} | ||
}); | ||
|
||
// Load NPM tasks | ||
grunt.loadNpmTasks('grunt-contrib-compass'); | ||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.loadNpmTasks('grunt-nodemon'); | ||
grunt.loadNpmTasks('grunt-concurrent'); | ||
|
||
// Default task(s). | ||
grunt.registerTask('default', ['jshint', 'compass', 'concurrent:target']); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,45 @@ | ||
{ | ||
"name": "mean" | ||
, "description": "Mongo" | ||
, "version": "1.0.0" | ||
, "private": false | ||
, "author": "MEAN - A Modern Stack: MongoDB, ExpressJS, AngularJS, NodeJS. (BONUS: Passport User Support)." | ||
, "engines": { | ||
"node": "0.10.x" | ||
, "npm": "1.2.x" | ||
} | ||
, "scripts": { | ||
"start": "NODE_ENV=development ./node_modules/.bin/nodemon server.js", | ||
"test": "NODE_ENV=test ./node_modules/.bin/mocha --reporter spec test/test-*.js" | ||
} | ||
, "dependencies": { | ||
"express": "latest" | ||
, "jade": "latest" | ||
, "mongoose": "latest" | ||
, "connect-mongo": "latest" | ||
, "connect-flash": "latest" | ||
, "passport": "latest" | ||
, "passport-local": "latest" | ||
, "passport-facebook": "latest" | ||
, "passport-twitter": "latest" | ||
, "passport-github": "latest" | ||
, "passport-google-oauth": "latest" | ||
, "underscore": "latest" | ||
, "async": "latest" | ||
, "view-helpers": "latest" | ||
, "forever": "latest" | ||
, "mean-logger": "latest" | ||
, "bower": "latest" | ||
"name": "mean", | ||
"description": "Mongo", | ||
"version": "1.0.0", | ||
"private": false, | ||
"author": "MEAN - A Modern Stack: MongoDB, ExpressJS, AngularJS, NodeJS. (BONUS: Passport User Support).", | ||
"engines": { | ||
"node": "0.10.x", | ||
"npm": "1.2.x" | ||
}, | ||
"scripts": { | ||
"start": "NODE_ENV=development ./node_modules/.bin/nodemon server.js", | ||
"test": "NODE_ENV=test ./node_modules/.bin/mocha --reporter spec test/test-*.js", | ||
"postinstall": "./node_modules/bower/bin/bower install" | ||
}, | ||
"dependencies": { | ||
"express": "latest", | ||
"jade": "latest", | ||
"mongoose": "latest", | ||
"connect-mongo": "latest", | ||
"connect-flash": "latest", | ||
"passport": "latest", | ||
"passport-local": "latest", | ||
"passport-facebook": "latest", | ||
"passport-twitter": "latest", | ||
"passport-github": "latest", | ||
"passport-google-oauth": "latest", | ||
"underscore": "latest", | ||
"async": "latest", | ||
"view-helpers": "latest", | ||
"mean-logger": "latest" | ||
}, | ||
"devDependencies": { | ||
"supertest": "latest", | ||
"should": "latest", | ||
"mocha": "latest", | ||
"bower": "latest", | ||
"grunt": "~0.4.1", | ||
"grunt-contrib-compass": "~0.3.0", | ||
"grunt-contrib-watch": "~0.4.4", | ||
"grunt-contrib-jshint": "~0.6.0", | ||
"grunt-nodemon": "0.0.8", | ||
"grunt-concurrent": "~0.3.0" | ||
} | ||
, "devDependencies": { | ||
"supertest": "latest" | ||
, "should": "latest" | ||
, "mocha": "latest" | ||
, "nodemon": "latest" | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Empty file.
0
public/css/common.css → public/sass/common.scss
100755 → 100644
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
h1 { | ||
text-align: center; | ||
} | ||
|
||
ul.articles { | ||
li:not(:last-child) { | ||
border-bottom: 1px solid #ccc; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters