Skip to content

Commit 3d0032b

Browse files
committed
cleanups
1 parent 2252b82 commit 3d0032b

File tree

9 files changed

+16
-178
lines changed

9 files changed

+16
-178
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 & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: node_js
2-
sudo: false
2+
sudo: required
33
node_js:
44
- "lts/*"
5-
before_script:
6-
- npm install -g bower
7-
- bower install
5+
addons:
6+
chrome: stable

README.md

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

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

66
> Web Notifications made easy
77
@@ -129,7 +129,7 @@ See [contributing guide](.github/CONTRIBUTING.md)
129129

130130
| Date | Version | Description |
131131
| ----------- | ------- | ----------- |
132-
| 2018-04-30 | v1.0.24 | Maintenance |
132+
| 2018-06-14 | v1.0.25 | Maintenance |
133133
| 2017-08-25 | v1.0.21 | Support service worker web notifications |
134134
| 2017-01-31 | v1.0.3 | Removed polyfill dependency |
135135
| 2017-01-22 | v1.0.0 | Official release |

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "simple-web-notification",
3-
"version": "1.0.24",
3+
"version": "1.0.25",
44
"description": "Web Notifications made easy.",
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.0.24 | Maintenance |
3+
| 2018-06-14 | v1.0.25 | Maintenance |
44
| 2017-08-25 | v1.0.21 | Support service worker web notifications |
55
| 2017-01-31 | v1.0.3 | Removed polyfill dependency |
66
| 2017-01-22 | v1.0.0 | Official release |

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "simple-web-notification",
3-
"version": "1.0.24",
3+
"version": "1.0.25",
44
"description": "Web Notifications made easy.",
55
"author": {
66
"name": "Sagie Gur-Ari",
@@ -45,14 +45,13 @@
4545
"husky": "latest",
4646
"js-project-commons": "latest",
4747
"karma": "latest",
48+
"karma-chrome-launcher": "latest",
4849
"karma-cli": "latest",
4950
"karma-coverage": "latest",
5051
"karma-mocha": "latest",
51-
"karma-phantomjs-launcher": "latest",
5252
"karma-sinon-chai": "latest",
5353
"lolex": "latest",
5454
"mocha": "latest",
55-
"phantomjs-prebuilt": "latest",
5655
"sinon": "latest",
5756
"sinon-chai": "latest"
5857
}

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 made easy
77

project/config/karma.conf.js

Lines changed: 4 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -4,52 +4,13 @@ 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
'test/helpers/**/*.js',
1612
mainJSFile,
1713
'test/spec/**/*.js'
18-
],
19-
port: 8080,
20-
logLevel: config.LOG_INFO,
21-
autoWatch: false,
22-
browsers: [
23-
'PhantomJS'
24-
],
25-
singleRun: false,
26-
reporters: [
27-
'progress',
28-
'coverage'
29-
],
30-
preprocessors: {},
31-
coverageReporter: {
32-
dir: 'target/coverage/report',
33-
reporters: [
34-
{
35-
type: 'lcov',
36-
subdir: '.'
37-
}
38-
],
39-
check: {
40-
global: {
41-
statements: 100,
42-
functions: 100,
43-
lines: 100,
44-
branches: 100
45-
}
46-
}
47-
}
48-
};
49-
50-
karmaConfig.preprocessors[mainJSFile] = [
51-
'coverage'
52-
];
53-
54-
config.set(karmaConfig);
14+
]
15+
}, mainJSFile);
5516
};

0 commit comments

Comments
 (0)