From ac2cea0d8a6a7c6d4f03ab5af183a5e8adbe9751 Mon Sep 17 00:00:00 2001 From: rayelliott Date: Fri, 8 May 2020 11:11:39 +0000 Subject: [PATCH] add browsersync locally --- package-lock.json | 16 ++++++++++++++++ package.json | 7 +++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0711b6e..869d5e3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2049,6 +2049,11 @@ "pkg-up": "^2.0.0" } }, + "browsersync": { + "version": "0.0.1-security", + "resolved": "https://registry.npmjs.org/browsersync/-/browsersync-0.0.1-security.tgz", + "integrity": "sha1-6IX+Q1TS7FpWXDjEwr8KASrWSGA=" + }, "bs-recipes": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/bs-recipes/-/bs-recipes-1.3.4.tgz", @@ -2269,6 +2274,7 @@ "anymatch": "^2.0.0", "async-each": "^1.0.1", "braces": "^2.3.2", + "fsevents": "^1.2.7", "glob-parent": "^3.1.0", "inherits": "^2.0.3", "is-binary-path": "^1.0.0", @@ -4077,6 +4083,16 @@ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, + "fsevents": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", + "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", + "dev": true, + "optional": true, + "requires": { + "nan": "^2.12.1" + } + }, "fstream": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz", diff --git a/package.json b/package.json index 6a9f5ca..30c3f93 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "WordPress Theme framework", "main": "index.js", "scripts": { - "postinstall": "gulp copy-assets" + "postinstall": "gulp copy-assets", + "watch-bs": "gulp watch-bs" }, "engines": { "npm": ">=2.1.8" @@ -26,7 +27,9 @@ "url": "https://github.com/understrap/understrap/issues" }, "homepage": "https://understrap.com", - "dependencies": {}, + "dependencies": { + "browsersync": "0.0.1-security" + }, "devDependencies": { "@babel/core": "^7.9.0", "@babel/preset-env": "^7.9.5",