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

Commit d885dea

Browse files
committed
chore(grunt): prepare initial release
1 parent e1a76a8 commit d885dea

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

Gruntfile.js

+9-4
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ module.exports = function (grunt) {
347347
files: [{
348348
expand: true,
349349
cwd: '<%= yo.dist %>',
350-
src: '*',
350+
src: '{,*/}*.js',
351351
dest: '<%= yo.dist %>'
352352
}]
353353
},
@@ -415,11 +415,15 @@ module.exports = function (grunt) {
415415
dist: {
416416
options: {
417417
report: 'gzip',
418-
sourceMap: '<%= yo.dist %>/<%= pkg.name %>.min.map'
418+
sourceMap: '<%= yo.dist %>/<%= pkg.name %>.min.map',
419+
sourceMappingURL: '<%= pkg.name %>.min.map'
419420
},
420421
files: [{
421-
dest: '<%= yo.dist %>/<%= pkg.name %>.min.js',
422-
src: '<%= yo.dist %>/<%= pkg.name %>.js'
422+
expand: true,
423+
cwd: '<%= yo.dist %>',
424+
src: '{,*/}*.js',
425+
dest: '<%= yo.dist %>',
426+
ext: '.min.js'
423427
}]
424428
}
425429
},
@@ -468,6 +472,7 @@ module.exports = function (grunt) {
468472
'ngmin:dist',
469473
'ngmin:modules',
470474
'uglify:dist',
475+
'concat:banner'
471476
]);
472477

473478
grunt.registerTask('docs', [

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-strap",
33
"description": "AngularStrap - AngularJS directives for Twitter Bootstrap",
4-
"version": "2.0.0-b.1",
4+
"version": "2.0.0-beta.1",
55
"dependencies": {
66
"angular": "~1.2.5",
77
"angular-animate": "~1.2.5",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-strap",
33
"description": "AngularStrap - AngularJS directives for Twitter Bootstrap",
4-
"version": "2.0.0-b.1",
4+
"version": "2.0.0-beta.1",
55
"homepage": "http://mgcrea.github.io/angular-strap",
66
"author": "Olivier Louvignes <olivier@mg-crea.com>",
77
"repository": {

0 commit comments

Comments
 (0)