complete-string
Advanced tools
Comparing version 2.0.2 to 2.1.0
{ | ||
"name": "complete-string", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"description": "CompleteString string by any char. This repo is some kind of polyfill for ES7 padLeft.", | ||
@@ -11,7 +11,2 @@ "license": "MIT", | ||
}, | ||
"main": "complete-string.js", | ||
"keywords": [ | ||
"complete", | ||
"string" | ||
], | ||
"repository": { | ||
@@ -22,10 +17,27 @@ "type": "git", | ||
"scripts": { | ||
"test": "jest" | ||
"build": "webpack --profile", | ||
"watch": "webpack -w", | ||
"test": "jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json", | ||
"coverage": "istanbul cover jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json", | ||
"coveralls": "npm run coverage && cat ./coverage/lcov.info | coveralls -v" | ||
}, | ||
"devDependencies": { | ||
"jest-cli": "^0.6.0" | ||
"istanbul": "^0.4.4", | ||
"jasmine": "^2.4.1", | ||
"json-loader": "^0.5.4", | ||
"string-replace-loader": "^1.0.3", | ||
"webpack": "^1.13.1" | ||
}, | ||
"jest": { | ||
"testDirectoryName": "test" | ||
} | ||
"files": [ | ||
"dist", | ||
"lib", | ||
"index.js", | ||
"package.json", | ||
"README.md" | ||
], | ||
"keywords": [ | ||
"complete", | ||
"string" | ||
], | ||
"main": "./dist/complete-string.js" | ||
} |
@@ -1,10 +0,10 @@ | ||
# complete-string | ||
# complete-string ([npm](https://www.npmjs.com/package/complete-string)) | ||
 | ||
[](https://badge.fury.io/js/complete-string) | ||
 | ||
 | ||
 | ||
 | ||
[](https://travis-ci.org/piecioshka/complete-string) | ||
[](https://coveralls.io/github/piecioshka/complete-string?branch=master) | ||
> Complete string by any char. This repo is some kind of polyfill for ES7 padLeft. | ||
> :hammer: Complete string by any char. This repo is some kind of polyfill for ES7 padLeft. | ||
@@ -14,3 +14,3 @@ ## Install | ||
``` | ||
npm install complete-string | ||
$ npm install complete-string | ||
``` | ||
@@ -21,3 +21,3 @@ | ||
``` | ||
bower install complete-string | ||
$ bower install complete-string | ||
``` | ||
@@ -40,16 +40,20 @@ | ||
## Test | ||
## Unit tests | ||
As pre-installation you should have tool called `jest`: | ||
How to run unit test (written in Jasmine): | ||
``` | ||
npm test | ||
$ npm test | ||
``` | ||
## Authors | ||
## Code coverage | ||
- [Piotr Kowalski](http://twitter.com/piecioshka) | ||
Use Istanbul to get code coverage ratio. | ||
``` | ||
$ npm run coverage | ||
``` | ||
## License | ||
[The MIT License](http://piecioshka.mit-license.org) | ||
[The MIT License](http://piecioshka.mit-license.org) @ 2014 |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
23882
8
211
57
5
1