Skip to content

Commit 4c47699

Browse files
committed
Finish 0.1.4
2 parents c8abe48 + 44e12f5 commit 4c47699

File tree

7 files changed

+13
-10
lines changed

7 files changed

+13
-10
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-confirm-bootstrap",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "Client filter to confirm or cancel an action",
55
"keywords": [
66
"confirm",

config/build.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ module.exports = {
66
// Name that will be used in angular.module
77
moduleName: 'angular.confirm.bootstrap',
88

9+
// Name of the js file in dist
10+
distFileName: 'angular-confirm-bootstrap',
11+
912
// Name that will show up in text
1013
readableName: '"Angular Confirm Bootstrap"',
1114

dist/js/angular-confirm.bootstrap.js renamed to dist/js/angular-confirm-bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* null
44
* @license undefined
55
* v0.1.3
6-
* 2017-01-17T11:41:15.985Z
6+
* 2017-01-18T14:36:08.718Z
77
*/
88
(function () {
99
'use strict';

dist/js/angular-confirm.bootstrap.min.js renamed to dist/js/angular-confirm-bootstrap.min.js

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

dist/js/angular-confirm.bootstrap.min.js.map renamed to dist/js/angular-confirm-bootstrap.min.js.map

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

gulpfile.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ gulp.task('js', function () {
129129
'src/template/**/*.js'
130130
], { base: '.' }))
131131

132-
.pipe($g.concat(buildConfig.name.replace(".","-") + '.js'))
132+
.pipe($g.concat(buildConfig.distFileName + '.js')) // angular.confirm.bootstrap
133133
.pipe($g.header(config.banner))
134134
.pipe(gulp.dest('dist/js'))
135135
.pipe($g.sourcemaps.init())
@@ -138,7 +138,7 @@ gulp.task('js', function () {
138138
negate_iife: false
139139
}
140140
}))
141-
.pipe($g.rename(buildConfig.name.replace(".","-") + '.min.js'))
141+
.pipe($g.rename(buildConfig.distFileName + '.min.js'))
142142
.pipe($g.header(config.banner))
143143
.pipe($g.sourcemaps.write('./'))
144144
.pipe($g.size({ title: 'js' }))
@@ -155,7 +155,7 @@ gulp.task('less', function () {
155155
.pipe($g.progeny())
156156
.pipe($g.less())
157157
.pipe($g.autoprefixer())
158-
.pipe($g.rename(buildConfig.name.replace(".","-") + '.css'))
158+
.pipe($g.rename(buildConfig.distFileName + '.css'))
159159
.pipe($g.header(config.banner))
160160
.pipe(
161161
gulp.dest(config.paths.dist.css)
@@ -164,7 +164,7 @@ gulp.task('less', function () {
164164
// Minify
165165
.pipe($g.sourcemaps.init())
166166
.pipe($g.minifyCss())
167-
.pipe($g.rename(buildConfig.name.replace(".","-") + '.min.css'))
167+
.pipe($g.rename(buildConfig.name.distFileName + '.min.css'))
168168
.pipe($g.sourcemaps.write('./'))
169169
.pipe($g.size({ title: 'css' }))
170170
.pipe(

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular.confirm.bootstrap",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "Client confirmation which offers the possibility to accept or cancel an action",
55
"engines": {
66
"node": ">=0.12.0"

0 commit comments

Comments
 (0)