Skip to content

Commit b9f971f

Browse files
committed
grunt connect config
1 parent dc56777 commit b9f971f

13 files changed

Lines changed: 154 additions & 48 deletions

File tree

‎Gruntfile.js‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ module.exports = function (grunt) {
1111
grunt.loadNpmTasks('grunt-karma');
1212
grunt.loadNpmTasks('grunt-ngmin');
1313
grunt.loadNpmTasks('grunt-html2js');
14+
grunt.loadNpmTasks('grunt-contrib-connect');
1415

1516
var userConfig = {
1617
dist_dir: 'dist',
@@ -72,12 +73,22 @@ module.exports = function (grunt) {
7273
eqnull: true
7374
},
7475
globals: {}
76+
},
77+
78+
connect: {
79+
server: {
80+
options: {
81+
port: 3030,
82+
base: '.',
83+
keepalive: true
84+
}
85+
}
7586
}
7687
};
7788

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

80-
grunt.registerTask('default', [ 'build']);
91+
grunt.registerTask('default', [ 'connect']);
8192

8293
grunt.registerTask('build', [
8394
'jshint', 'concat', 'uglify'

‎README.md‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,2 @@
11
# angular-timer — A simple AngularJS directive demonstrating re-usability & interoperability
22

3-
Sample AngularJS directive
4-
5-
This fork:
6-
7-
Create the bower support to deploy a package on Bower
8-
9-
Instructions:
10-
bower bump > to increase the version of the tag. Current: v1.0.0
11-
12-
Create the first tag v1.0.0 for this project and deploy the package to bower:
13-
bower register angular-timer-bower git://github.com/siddii/angular-timer.git
14-
15-
Or:
16-
bower register angular-timer git://github.com/siddii/angular-timer.git
17-
18-
Since I've created the angular-bower to my endpoint, this package name will be unavaliable until the bower team remove manually this package.
19-
I create a request to remove this package at https://github.com/bower/bower/issues/120
20-

‎dist/angular-timer.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* angular-timer - v1.0.2 - 2013-09-23 9:29 AM
2+
* angular-timer - v1.0.2 - 2013-09-24 8:42 AM
33
* https://github.com/siddii/angular-timer
44
*
55
* Copyright (c) 2013 Siddique Hameed

‎dist/angular-timer.min.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎node_modules/grunt-contrib-connect/CHANGELOG‎

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎node_modules/grunt-contrib-connect/Gruntfile.js‎

Lines changed: 35 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎node_modules/grunt-contrib-connect/LICENSE-MIT‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎node_modules/grunt-contrib-connect/node_modules/connect/node_modules/debug/package.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎node_modules/grunt-contrib-connect/node_modules/connect/node_modules/qs/package.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎node_modules/grunt-contrib-connect/node_modules/connect/package.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)