Skip to content

Commit 621cced

Browse files
committed
cleanups
1 parent bbb1578 commit 621cced

File tree

9 files changed

+16
-175
lines changed

9 files changed

+16
-175
lines changed

.atom-build.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.bithoundrc

Lines changed: 0 additions & 81 deletions
This file was deleted.

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
language: node_js
2-
sudo: false
2+
sudo: required
33
node_js:
44
- "lts/*"
5+
addons:
6+
chrome: stable
57
before_script:
68
- npm install -g bower
79
- bower install

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# angular-web-notification
22

3-
[![Bower Version](https://img.shields.io/bower/v/angular-web-notification.svg?style=flat)](https://github.com/sagiegurari/angular-web-notification/releases) [![NPM Version](http://img.shields.io/npm/v/angular-web-notification.svg?style=flat)](https://www.npmjs.org/package/angular-web-notification) [![Build Status](https://travis-ci.org/sagiegurari/angular-web-notification.svg)](http://travis-ci.org/sagiegurari/angular-web-notification) [![Coverage Status](https://coveralls.io/repos/sagiegurari/angular-web-notification/badge.svg)](https://coveralls.io/r/sagiegurari/angular-web-notification) [![bitHound Code](https://www.bithound.io/github/sagiegurari/angular-web-notification/badges/code.svg)](https://www.bithound.io/github/sagiegurari/angular-web-notification) [![Inline docs](http://inch-ci.org/github/sagiegurari/angular-web-notification.svg?branch=master)](http://inch-ci.org/github/sagiegurari/angular-web-notification)<br>
4-
[![License](https://img.shields.io/bower/l/angular-web-notification.svg)](https://github.com/sagiegurari/angular-web-notification/blob/master/LICENSE) [![Known Vulnerabilities](https://snyk.io/test/github/sagiegurari/angular-web-notification/badge.svg)](https://snyk.io/test/github/sagiegurari/angular-web-notification) [![Retire Status](http://retire.insecurity.today/api/image?uri=https://raw.githubusercontent.com/sagiegurari/angular-web-notification/master/bower.json)](http://retire.insecurity.today/api/image?uri=https://raw.githubusercontent.com/sagiegurari/angular-web-notification/master/bower.json)
3+
[![Bower Version](https://img.shields.io/bower/v/angular-web-notification.svg?style=flat)](https://github.com/sagiegurari/angular-web-notification/releases) [![NPM Version](http://img.shields.io/npm/v/angular-web-notification.svg?style=flat)](https://www.npmjs.org/package/angular-web-notification) [![Build Status](https://travis-ci.org/sagiegurari/angular-web-notification.svg)](http://travis-ci.org/sagiegurari/angular-web-notification) [![Coverage Status](https://coveralls.io/repos/sagiegurari/angular-web-notification/badge.svg)](https://coveralls.io/r/sagiegurari/angular-web-notification) [![Known Vulnerabilities](https://snyk.io/test/github/sagiegurari/angular-web-notification/badge.svg)](https://snyk.io/test/github/sagiegurari/angular-web-notification) [![Inline docs](http://inch-ci.org/github/sagiegurari/angular-web-notification.svg?branch=master)](http://inch-ci.org/github/sagiegurari/angular-web-notification)<br>
4+
[![License](https://img.shields.io/bower/l/angular-web-notification.svg)](https://github.com/sagiegurari/angular-web-notification/blob/master/LICENSE)
55

66
> Web Notifications AngularJS Service
77
@@ -154,7 +154,7 @@ See [contributing guide](.github/CONTRIBUTING.md)
154154

155155
| Date | Version | Description |
156156
| ----------- | ------- | ----------- |
157-
| 2018-04-30 | v1.2.27 | Maintenance |
157+
| 2018-06-14 | v1.2.28 | Maintenance |
158158
| 2017-08-25 | v1.2.24 | Document support of service worker web notifications |
159159
| 2017-01-22 | v1.2.0 | Split the internal web notification API into a new project: simple-web-notification |
160160
| 2016-11-23 | v1.0.19 | Use forked version of html5-desktop-notifications in order to resolve few issues |

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-web-notification",
3-
"version": "1.2.27",
3+
"version": "1.2.28",
44
"description": "AngularJS service for displaying web notifications.",
55
"authors": [
66
"Sagie Gur-Ari <[email protected]>"

docs/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
| Date | Version | Description |
22
| ----------- | ------- | ----------- |
3-
| 2018-04-30 | v1.2.27 | Maintenance |
3+
| 2018-06-14 | v1.2.28 | Maintenance |
44
| 2017-08-25 | v1.2.24 | Document support of service worker web notifications |
55
| 2017-01-22 | v1.2.0 | Split the internal web notification API into a new project: simple-web-notification |
66
| 2016-11-23 | v1.0.19 | Use forked version of html5-desktop-notifications in order to resolve few issues |

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-web-notification",
3-
"version": "1.2.27",
3+
"version": "1.2.28",
44
"description": "AngularJS service for displaying web notifications.",
55
"author": {
66
"name": "Sagie Gur-Ari",
@@ -49,14 +49,13 @@
4949
"husky": "latest",
5050
"js-project-commons": "latest",
5151
"karma": "latest",
52+
"karma-chrome-launcher": "latest",
5253
"karma-cli": "latest",
5354
"karma-coverage": "latest",
5455
"karma-mocha": "latest",
55-
"karma-phantomjs-launcher": "latest",
5656
"karma-sinon-chai": "latest",
5757
"lolex": "latest",
5858
"mocha": "latest",
59-
"phantomjs-prebuilt": "latest",
6059
"sinon": "latest",
6160
"sinon-chai": "latest"
6261
}

project/config/README-template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# {"gitdown": "gitinfo", "name": "name"}
22

3-
[![Bower Version](https://img.shields.io/bower/v/{"gitdown": "gitinfo", "name": "name"}.svg?style=flat)](https://github.com/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}/releases) [![NPM Version](http://img.shields.io/npm/v/{"gitdown": "gitinfo", "name": "name"}.svg?style=flat)](https://www.npmjs.org/package/{"gitdown": "gitinfo", "name": "name"}) [![Build Status](https://travis-ci.org/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}.svg)](http://travis-ci.org/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}) [![Coverage Status](https://coveralls.io/repos/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}/badge.svg)](https://coveralls.io/r/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}) [![bitHound Code](https://www.bithound.io/github/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}/badges/code.svg)](https://www.bithound.io/github/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}) [![Inline docs](http://inch-ci.org/github/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}.svg?branch=master)](http://inch-ci.org/github/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"})<br>
4-
[![License](https://img.shields.io/bower/l/{"gitdown": "gitinfo", "name": "name"}.svg)](https://github.com/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}/blob/master/LICENSE) [![Known Vulnerabilities](https://snyk.io/test/github/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}/badge.svg)](https://snyk.io/test/github/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}) [![Retire Status](http://retire.insecurity.today/api/image?uri=https://raw.githubusercontent.com/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}/master/bower.json)](http://retire.insecurity.today/api/image?uri=https://raw.githubusercontent.com/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}/master/bower.json)
3+
[![Bower Version](https://img.shields.io/bower/v/{"gitdown": "gitinfo", "name": "name"}.svg?style=flat)](https://github.com/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}/releases) [![NPM Version](http://img.shields.io/npm/v/{"gitdown": "gitinfo", "name": "name"}.svg?style=flat)](https://www.npmjs.org/package/{"gitdown": "gitinfo", "name": "name"}) [![Build Status](https://travis-ci.org/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}.svg)](http://travis-ci.org/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}) [![Coverage Status](https://coveralls.io/repos/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}/badge.svg)](https://coveralls.io/r/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}) [![Known Vulnerabilities](https://snyk.io/test/github/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}/badge.svg)](https://snyk.io/test/github/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}) [![Inline docs](http://inch-ci.org/github/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}.svg?branch=master)](http://inch-ci.org/github/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"})<br>
4+
[![License](https://img.shields.io/bower/l/{"gitdown": "gitinfo", "name": "name"}.svg)](https://github.com/{"gitdown": "gitinfo", "name": "username"}/{"gitdown": "gitinfo", "name": "name"}/blob/master/LICENSE)
55

66
> Web Notifications AngularJS Service
77

project/config/karma.conf.js

Lines changed: 4 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@ module.exports = function (config) {
44
'use strict';
55

66
var mainJSFile = require('../../bower.json').main;
7+
var commons = require('js-project-commons');
78

8-
var karmaConfig = {
9-
basePath: '../../',
10-
frameworks: [
11-
'mocha',
12-
'sinon-chai'
13-
],
9+
commons.tools.karma(config, {
1410
files: [
1511
'bower_components/jquery/dist/jquery.js',
1612
'bower_components/angular/angular.js',
@@ -19,41 +15,6 @@ module.exports = function (config) {
1915
'bower_components/simple-web-notification/web-notification.js',
2016
mainJSFile,
2117
'test/spec/**/*.js'
22-
],
23-
port: 8080,
24-
logLevel: config.LOG_INFO,
25-
autoWatch: false,
26-
browsers: [
27-
'PhantomJS'
28-
],
29-
singleRun: false,
30-
reporters: [
31-
'progress',
32-
'coverage'
33-
],
34-
preprocessors: {},
35-
coverageReporter: {
36-
dir: 'target/coverage/report',
37-
reporters: [
38-
{
39-
type: 'lcov',
40-
subdir: '.'
41-
}
42-
],
43-
check: {
44-
global: {
45-
statements: 100,
46-
functions: 100,
47-
lines: 100,
48-
branches: 100
49-
}
50-
}
51-
}
52-
};
53-
54-
karmaConfig.preprocessors[mainJSFile] = [
55-
'coverage'
56-
];
57-
58-
config.set(karmaConfig);
18+
]
19+
}, mainJSFile);
5920
};

0 commit comments

Comments
 (0)