Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
chore(grunt): prepare initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
mgcrea committed Jan 7, 2014
1 parent e1a76a8 commit d885dea
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
13 changes: 9 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ module.exports = function (grunt) {
files: [{
expand: true,
cwd: '<%= yo.dist %>',
src: '*',
src: '{,*/}*.js',
dest: '<%= yo.dist %>'
}]
},
Expand Down Expand Up @@ -415,11 +415,15 @@ module.exports = function (grunt) {
dist: {
options: {
report: 'gzip',
sourceMap: '<%= yo.dist %>/<%= pkg.name %>.min.map'
sourceMap: '<%= yo.dist %>/<%= pkg.name %>.min.map',
sourceMappingURL: '<%= pkg.name %>.min.map'
},
files: [{
dest: '<%= yo.dist %>/<%= pkg.name %>.min.js',
src: '<%= yo.dist %>/<%= pkg.name %>.js'
expand: true,
cwd: '<%= yo.dist %>',
src: '{,*/}*.js',
dest: '<%= yo.dist %>',
ext: '.min.js'
}]
}
},
Expand Down Expand Up @@ -468,6 +472,7 @@ module.exports = function (grunt) {
'ngmin:dist',
'ngmin:modules',
'uglify:dist',
'concat:banner'
]);

grunt.registerTask('docs', [
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-strap",
"description": "AngularStrap - AngularJS directives for Twitter Bootstrap",
"version": "2.0.0-b.1",
"version": "2.0.0-beta.1",
"dependencies": {
"angular": "~1.2.5",
"angular-animate": "~1.2.5",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-strap",
"description": "AngularStrap - AngularJS directives for Twitter Bootstrap",
"version": "2.0.0-b.1",
"version": "2.0.0-beta.1",
"homepage": "http://mgcrea.github.io/angular-strap",
"author": "Olivier Louvignes <olivier@mg-crea.com>",
"repository": {
Expand Down

0 comments on commit d885dea

Please sign in to comment.