force-resolutions and be able to run server including watching files for changes.

This commit is contained in:
Niels Lyngsø
2020-06-17 12:07:15 +02:00
parent 96ab448e74
commit 0836118d54
2 changed files with 11 additions and 1 deletions

View File

@@ -54,3 +54,6 @@ gulp.task('open:docs', function (cb) {
.pipe(open(options));
cb();
});
gulp.task('watch', ['docs', 'connect:docs', 'open:docs']);

View File

@@ -1,9 +1,16 @@
{
"private": true,
"scripts": {
"preinstall": "npx npm-force-resolutions",
"docs": "gulp docs",
"start": "gulp docs",
"default": "gulp docs"
"default": "gulp docs",
"dev": "gulp watch",
"serve": "gulp watch",
"watch": "gulp watch"
},
"resolutions": {
"graceful-fs": "4.2.3"
},
"devDependencies": {
"gulp": "^3.9.1",