Socket
Socket
Sign inDemoInstall

browser-sync

Package Overview
Dependencies
Maintainers
1
Versions
300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-sync - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

6

Gruntfile.js

@@ -41,2 +41,6 @@ 'use strict';

singleRun: true
},
watch: {
configFile: 'test/karma.conf.js',
singleRun: false
}

@@ -68,4 +72,4 @@ },

grunt.registerTask('default', ['jasmine_node']);
grunt.registerTask('test-all', ['karma:unit', 'jasmine_node']);
grunt.registerTask('test', ['karma:unit', 'jasmine_node']);
};

2

package.json
{
"name": "browser-sync",
"description": "Live CSS Reload & Browser Syncing",
"version": "0.1.8",
"version": "0.1.9",
"homepage": "https://github.com/shakyshane/browser-sync",

@@ -6,0 +6,0 @@ "author": {

@@ -57,3 +57,3 @@ # browser-sync [![Build Status](https://travis-ci.org/shakyShane/browser-sync.png?branch=master)](https://travis-ci.org/shakyShane/browser-sync)

Watch ALL CSS files for changes with a static server & specify that the base dir should be "app" & with browser-sync disabled
Watch ALL CSS files for changes with a static server & specify that the base dir should be "app" & with ghostMode disabled
```

@@ -184,4 +184,43 @@ browser-sync --files "app/css/*.css" --server "app" --ghostMode false

```
#Contributing
Fork this repo, clone it and then run
```
npm install
```
###Testing
Tests are split into two categories: Client & Server
**Client-side tests**
Client-side tests are located in test/client-script/*
// Run the client-side tests & exit
```
grunt karma:unit
```
// Run the client-side tests & re-run on every file-change.
```
grunt karma:watch
```
**Server-side tests**
Server-side tests are located in test/new-server
// Run the server-side tests & exit
```
grunt jasmine_node
```
// Run the server-side tests & re-run on every file-change.
```
grunt watch
```
// Run the server-side tests & client-side tests once & exit.
```
grunt test
```
This is a brand new project so expect bugs & be sure to report them.
## License
Copyright (c) 2013 Shane Osbourne
Licensed under the MIT license.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc