Skip to content

Commit 2d167ed

Browse files
committed
cleanups
1 parent aaf135c commit 2d167ed

File tree

9 files changed

+14
-173
lines changed

9 files changed

+14
-173
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# angular-number-input
22

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

66
> AngularJS number input directive
77
@@ -136,7 +136,7 @@ See [contributing guide](.github/CONTRIBUTING.md)
136136

137137
| Date | Version | Description |
138138
| ----------- | ------- | ----------- |
139-
| 2018-04-30 | v1.1.3 | Maintenance |
139+
| 2018-06-14 | v1.1.4 | Maintenance |
140140
| 2018-02-12 | v1.1.2 | Add support for step validations using big.js for more accurate calculations |
141141
| 2018-02-01 | v1.0.38 | Link function of the provided service will only be called once to prevent memory leaks |
142142
| 2016-07-11 | v0.0.27 | Service can now provide min/max/step values and template values override service values |

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-number-input",
3-
"version": "1.1.3",
3+
"version": "1.1.4",
44
"description": "AngularJS number input directive.",
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.1.3 | Maintenance |
3+
| 2018-06-14 | v1.1.4 | Maintenance |
44
| 2018-02-12 | v1.1.2 | Add support for step validations using big.js for more accurate calculations |
55
| 2018-02-01 | v1.0.38 | Link function of the provided service will only be called once to prevent memory leaks |
66
| 2016-07-11 | v0.0.27 | Service can now provide min/max/step values and template values override service values |

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-number-input",
3-
"version": "1.1.3",
3+
"version": "1.1.4",
44
"description": "AngularJS number input directive.",
55
"author": {
66
"name": "Sagie Gur-Ari",
@@ -47,14 +47,13 @@
4747
"husky": "latest",
4848
"js-project-commons": "latest",
4949
"karma": "latest",
50+
"karma-chrome-launcher": "latest",
5051
"karma-cli": "latest",
5152
"karma-coverage": "latest",
5253
"karma-mocha": "latest",
53-
"karma-phantomjs-launcher": "latest",
5454
"karma-sinon-chai": "latest",
5555
"lolex": "latest",
5656
"mocha": "latest",
57-
"phantomjs-prebuilt": "latest",
5857
"sinon": "latest",
5958
"sinon-chai": "latest"
6059
}

project/config/README-template.md

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

33
[![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)
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"})
55

66
> AngularJS number input directive
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/big.js/big.js',
1612
'bower_components/jquery/dist/jquery.js',
@@ -19,41 +15,6 @@ module.exports = function (config) {
1915
'test/helpers/**/*.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)