Skip to content

Commit 19e3c3d

Browse files
committed
Improve build steps naming
1 parent e44b3f5 commit 19e3c3d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ gulp.task('copy', gulp.parallel('copy:files', 'copy:readme', 'copy:license', 'co
158158

159159
gulp.task('example', gulp.series('example:build', 'example:copy'));
160160

161-
gulp.task('build', gulp.series('clean', 'copy', 'bundle'));
161+
gulp.task('bundle', gulp.series('clean', 'copy', 'bundle'));
162162
gulp.task('build:example', gulp.series('clean:example', 'example'));
163163

164-
gulp.task('default', gulp.parallel('build'));
164+
gulp.task('default', gulp.parallel('bundle'));

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"url": "git+https://github.com/fabiandev/css-animator.git"
88
},
99
"scripts": {
10-
"build": "npm run clean && npm run build:source && gulp build",
11-
"build:docs": "npm run clean && npm run build:source && gulp build:example",
10+
"build": "npm run clean && npm run build:source && gulp bundle",
11+
"docs": "npm run clean && npm run build:source && gulp build:example",
1212
"build:source": "node_modules/.bin/ngc -p tsconfig.dist.json",
1313
"clean": "rm -r ./compiled 2> /dev/null || true"
1414
},

0 commit comments

Comments
 (0)