Skip to content

Instantly share code, notes, and snippets.

@SOSANA SOSANA/package.json
Last active Aug 31, 2018

Embed
What would you like to do?
Google Chrome Live Server browser-sync setup for Linux or Windows OS
{
"name": "future-project",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "run-script-os",
"start:win32":
"browser-sync start --server --files '**/*.css, **/*.html, **/*.js, !node_modules/**/*' --directory --port 7777 --browser \"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\"",
"start:darwin:linux":
"browser-sync start --server --files '**/*.css, **/*.html, **/*.js, !node_modules/**/*' --directory --port 7777 --browser 'Google Chrome'"
},
"author": "SOSANA",
"license": "ISC",
"devDependencies": {
"browser-sync": "^2.18.13",
"run-script-os": "^1.0.2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.