base64-url
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
var base64url = module.exports; | ||
@@ -2,0 +4,0 @@ |
{ | ||
"name": "base64-url", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Base64 encode, decode, escape and unescape for URL applications", | ||
@@ -12,6 +12,6 @@ "main": "index.js", | ||
"scripts": { | ||
"test": "./node_modules/istanbul/lib/cli.js cover ./node_modules/tape/bin/tape test.js", | ||
"jshint": "./node_modules/jshint/bin/jshint -c .jshintrc *.js", | ||
"code-style": "./node_modules/jscs/bin/jscs -p google *.js", | ||
"check-coverage": "./node_modules/istanbul/lib/cli.js check-coverage --statements 100 --functions 100 --lines 100 --branches 100", | ||
"test": "istanbul cover tape test.js", | ||
"jshint": "jshint -c .jshintrc *.js", | ||
"code-style": "jscs -p google *.js", | ||
"check-coverage": "istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100", | ||
"coverage": "open coverage/lcov-report/index.html" | ||
@@ -18,0 +18,0 @@ }, |
@@ -10,15 +10,3 @@ # base64-url | ||
**V1.1** | ||
**code coverage:** | ||
`npm test && npm run check-coverage && npm run coverage` | ||
**code-style:** | ||
`npm run code-style` | ||
**jshint:** | ||
`npm run jshint` | ||
####API | ||
## API | ||
@@ -37,1 +25,31 @@ > base64url.encode('Node.js is awesome.'); | ||
## Development | ||
**this projet has been set up with a precommit that forces you to follow a code style, no jshint issues and 100% of code coverage before commit** | ||
to run test | ||
``` js | ||
npm test | ||
``` | ||
to run jshint | ||
``` js | ||
npm run jshint | ||
``` | ||
to run code style | ||
``` js | ||
npm run code-style | ||
``` | ||
to check code coverage | ||
``` js | ||
npm run check-coverage | ||
``` | ||
to open the code coverage report | ||
``` js | ||
npm run open-coverage | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3507
19
54