File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11bower_components
2+ node_modules
Original file line number Diff line number Diff line change 1+ module . exports = function ( grunt ) {
2+
3+ grunt . initConfig ( {
4+ pkg : grunt . file . readJSON ( 'package.json' ) ,
5+ uglify : {
6+ options : {
7+ banner : '/*! <%= pkg.name %> - v<%= pkg.version %> (<%= pkg.homepage %>) */\n'
8+ } ,
9+ build : {
10+ src : '<%= pkg.name %>.js' ,
11+ dest : '<%= pkg.name %>.min.js'
12+ }
13+ } ,
14+ jshint : {
15+ files : [ '<%= pkg.name %>.js' ]
16+ }
17+ } ) ;
18+
19+ grunt . loadNpmTasks ( 'grunt-contrib-uglify' ) ;
20+ grunt . loadNpmTasks ( 'grunt-contrib-jshint' ) ;
21+
22+ grunt . registerTask ( 'default' , [ 'jshint' ] ) ;
23+ grunt . registerTask ( 'build' , [ 'uglify' ] ) ;
24+ } ;
Original file line number Diff line number Diff line change 11{
22 "name" : " angular-progress-arc" ,
3- "version" : " 0.0.1 " ,
3+ "version" : " 0.1.0 " ,
44 "authors" : [
55 " Mathew Byrne <mathewbyrne@gmail.com>"
66 ],
2020 " bower_components" ,
2121 " test" ,
2222 " tests" ,
23- " example"
23+ " example" ,
24+ " bower.json" ,
25+ " package.json" ,
26+ " Gruntfile.js"
2427 ],
2528 "dependencies" : {
2629 "angular" : " >=1.2.19"
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " angular-progress-arc" ,
3+ "version" : " 0.1.0" ,
4+ "description" : " AngularJS directive for displaying a circular progress meter." ,
5+ "main" : " angular-progress-arc.js" ,
6+ "directories" : {
7+ "example" : " example"
8+ },
9+ "repository" : {
10+ "type" : " git" ,
11+ "url" : " git://github.com/mathewbyrne/angular-progress-arc.git"
12+ },
13+ "keywords" : [
14+ " angularjs" ,
15+ " directive" ,
16+ " progress" ,
17+ " svg"
18+ ],
19+ "author" : {
20+ "name" : " Mathew Byrne" ,
21+ "email" : " mathewbyrne@gmail.com" ,
22+ "url" : " http://mathewbyrne.com/"
23+ },
24+ "license" : " MIT" ,
25+ "bugs" : {
26+ "url" : " https://github.com/mathewbyrne/angular-progress-arc/issues"
27+ },
28+ "homepage" : " https://github.com/mathewbyrne/angular-progress-arc" ,
29+ "devDependencies" : {
30+ "grunt" : " ~0.4.5" ,
31+ "grunt-contrib-uglify" : " ~0.5.0" ,
32+ "grunt-contrib-jshint" : " ~0.10.0"
33+ }
34+ }
You can’t perform that action at this time.
0 commit comments