Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: node_js
sudo: required
node_js:
- "stable"
before_install: npm install -g grunt-cli
install: npm install grunt --save-dev
before_script: grunt build
script: grunt travis
7 changes: 5 additions & 2 deletions mobility-track-nodejs/Gruntfile.js → Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-nodemon');
grunt.loadNpmTasks('grunt-concurrent');


//Development task
grunt.task.registerMultiTask('grunt', ['build','testServerJS'], function() {
process.exit(0);});
}
grunt.registerTask('default', ['jshint', 'concurrent']);
};
11 changes: 11 additions & 0 deletions mobility-track-nodejs/package.json → package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.2.0",
"author": "The WebMatrix Team <webmatrix@microsoft.com>",
"description": "A simple boilerplate for building node applications on Windows Azure (or wherever)",

"contributors": [
{
"name": "Justin Beckwith",
Expand All @@ -16,11 +17,21 @@
"express"
],
"dependencies": {
"grunt": "^0.4.5",
"grunt-concurrent": "~0.4.3",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-watch": "~0.5.3",
"grunt-nodemon": "~0.2.0",
"express": "~3.1.0",
"mongoose": "~3.8.8",
"ejs": "^2.3.1",
"ejs-locals": "^1.0.2"
},

"scripts": {
"test": "grunt test"
},

"devDependencies": {
"grunt": "^0.4.5",
"grunt-concurrent": "~0.4.3",
Expand Down