Skip to content

Commit

Permalink
grunt connect config
Browse files Browse the repository at this point in the history
  • Loading branch information
siddii committed Sep 24, 2013
1 parent dc56777 commit b9f971f
Show file tree
Hide file tree
Showing 13 changed files with 154 additions and 48 deletions.
13 changes: 12 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-karma');
grunt.loadNpmTasks('grunt-ngmin');
grunt.loadNpmTasks('grunt-html2js');
grunt.loadNpmTasks('grunt-contrib-connect');

var userConfig = {
dist_dir: 'dist',
Expand Down Expand Up @@ -72,12 +73,22 @@ module.exports = function (grunt) {
eqnull: true
},
globals: {}
},

connect: {
server: {
options: {
port: 3030,
base: '.',
keepalive: true
}
}
}
};

grunt.initConfig(grunt.util._.extend(taskConfig, userConfig));

grunt.registerTask('default', [ 'build']);
grunt.registerTask('default', [ 'connect']);

grunt.registerTask('build', [
'jshint', 'concat', 'uglify'
Expand Down
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,2 @@
# angular-timer — A simple AngularJS directive demonstrating re-usability & interoperability

Sample AngularJS directive

This fork:

Create the bower support to deploy a package on Bower

Instructions:
bower bump > to increase the version of the tag. Current: v1.0.0

Create the first tag v1.0.0 for this project and deploy the package to bower:
bower register angular-timer-bower git://github.com/siddii/angular-timer.git

Or:
bower register angular-timer git://github.com/siddii/angular-timer.git

Since I've created the angular-bower to my endpoint, this package name will be unavaliable until the bower team remove manually this package.
I create a request to remove this package at https://github.com/bower/bower/issues/120

2 changes: 1 addition & 1 deletion dist/angular-timer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* angular-timer - v1.0.2 - 2013-09-23 9:29 AM
* angular-timer - v1.0.2 - 2013-09-24 8:42 AM
* https://github.com/siddii/angular-timer
*
* Copyright (c) 2013 Siddique Hameed
Expand Down
2 changes: 1 addition & 1 deletion dist/angular-timer.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions node_modules/grunt-contrib-connect/CHANGELOG

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 35 additions & 2 deletions node_modules/grunt-contrib-connect/Gruntfile.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/grunt-contrib-connect/LICENSE-MIT

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 11 additions & 8 deletions node_modules/grunt-contrib-connect/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b9f971f

Please sign in to comment.