diff --git a/README.md b/README.md index 71e5ef6..ee5f856 100644 --- a/README.md +++ b/README.md @@ -16,22 +16,18 @@ Modal service for AngularJS - supports creating popups and modals via a service. ## Usage -First, install with Bower: +Install with Bower or NPM: ``` bower install angular-modal-service -``` -or npm - -``` npm install angular-modal-service ``` - Then reference the minified script: ```html + ``` Specify the modal service as a dependency of your application: @@ -212,10 +208,11 @@ To work with the code, just run: ``` npm install -gulp +npm test +npm start ``` -The samples will be opened in the browser. All JavaScript changes will re-run the tests, all samples changes are automatically reloaded into the browser. +The dependencies will install, the tests will be run (always a useful sanity check after a clean checkout) and the code will run. You can open the browser at localhost:8080 to see the samples. As you change the code in the `src/` folder, it will be re-built and the browser will be updated. The easiest way to adapt the code is to play with some of the examples in the ``samples`` folder. diff --git a/bower.json b/bower.json index f238805..13aeb31 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "angular-modal-service", - "version": "0.6.10", + "version": "0.10.0", "homepage": "https://github.com/dwmkerr/angular-modal-service", "authors": [ "Dave Kerr (github.com/dwmkerr)" diff --git a/package.json b/package.json index 050f0e2..14c0425 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-modal-service", - "version": "0.6.10", + "version": "0.10.0", "description": "AngularJS Service for showing Modals and Popups", "main": "./dst/angular-modal-service.js", "scripts": {