Skip to content

Commit 8e46abc

Browse files
Dan LaskyShuwen Qian
authored andcommitted
added npm entry points
added a default build to live in case its first run
1 parent 938269d commit 8e46abc

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ gulp.task('server', function() {
509509
}));
510510
});
511511

512-
gulp.task('live', ['index', 'watch', 'server']);
512+
gulp.task('live', ['build', 'index', 'watch', 'server']);
513513

514514
gulp.task('watch:docs', function() {
515515
gulp.watch([j(C.DOCS,'/**/*.md'), C.SRC + '**/doc.json'], ['docs:templates']);

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
"Shuwen Qian <sqian@mediamath.com>"
1414
],
1515
"license": "BSD-3-Clause",
16+
"scripts":{
17+
"build":"gulp",
18+
"start":"gulp live",
19+
"deploy":"gulp deploy"
20+
},
1621
"devDependencies": {
1722
"autoprefixer": "^6.1.2",
1823
"connect": "^3.4.1",

0 commit comments

Comments
 (0)