mini-url
Advanced tools
Comparing version 2.1.1 to 2.1.2
{ | ||
"name": "mini-url", | ||
"description": "Lightweight isomorphic url parser.", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"author": "Dylan Piercey <pierceydylan@gmail.com>", | ||
@@ -11,3 +11,3 @@ "browser": { | ||
"dependencies": { | ||
"get-loc": "^2.0.2", | ||
"get-loc": "^2.0.3", | ||
"window-var": "^1.0.11" | ||
@@ -17,2 +17,4 @@ }, | ||
"@types/mocha": "^2.2.43", | ||
"@types/node": "^8.0.34", | ||
"coveralls": "^3.0.0", | ||
"husky": "^0.14.3", | ||
@@ -23,2 +25,3 @@ "jsdom": "^11.3.0", | ||
"mocha": "^4.0.1", | ||
"nyc": "^11.2.1", | ||
"prettier": "^1.7.4", | ||
@@ -53,10 +56,13 @@ "ts-node": "^3.3.0", | ||
"type": "git", | ||
"url": "https://github.com/DylanPiercey/mini-url" | ||
"url": "https://github.com/DylanPiercey/header-field" | ||
}, | ||
"scripts": { | ||
"format-all": "find ./{src,test}/**/*.ts | xargs prettier --write", | ||
"coveralls": "cat coverage/lcov.info | coveralls", | ||
"format-all": "find ./{src,test}/*.ts | xargs prettier --write", | ||
"mocha": "mocha -r ts-node/register ./test/**/*.test.ts", | ||
"precommit": "lint-staged && npm test", | ||
"test": "tsc && mocha -r ts-node/register ./test/**/*.test.ts" | ||
"test": "nyc --extension=.ts --include=src/**/*.ts --reporter=lcov --reporter=text-summary npm run mocha", | ||
"test-ci": "nyc --extension=.ts --include=src/**/*.ts --reporter=lcovonly --reporter=text-summary npm run mocha" | ||
}, | ||
"types": "dist/index.d.ts" | ||
} |
<h1 align="center"> | ||
<!-- Logo --> | ||
<br/> | ||
mini-url | ||
Mini-URL | ||
<br/> | ||
@@ -15,2 +15,14 @@ | ||
</a> | ||
<!-- Prettier --> | ||
<a href="https://github.com/prettier/prettier"> | ||
<img src="https://img.shields.io/badge/styled_with-prettier-ff69b4.svg" alt="Styled with prettier"/> | ||
</a> | ||
<!-- Travis build --> | ||
<a href="https://travis-ci.org/DylanPiercey/mini-url"> | ||
<img src="https://img.shields.io/travis/DylanPiercey/mini-url.svg" alt="Build status"/> | ||
</a> | ||
<!-- Coveralls coverage --> | ||
<a href="https://coveralls.io/github/DylanPiercey/mini-url"> | ||
<img src="https://img.shields.io/coveralls/DylanPiercey/mini-url.svg" alt="Test Coverage"/> | ||
</a> | ||
<!-- NPM version --> | ||
@@ -26,3 +38,3 @@ <a href="https://npmjs.org/package/mini-url"> | ||
<a href="https://npmjs.org/package/mini-url"> | ||
<img src="https://img.shields.io/badge/size-1.19kb-green.svg" alt="Browser Bundle Size"/> | ||
<img src="https://img.shields.io/badge/size-1.21kb-green.svg" alt="Browser Bundle Size"/> | ||
</a> | ||
@@ -29,0 +41,0 @@ </h1> |
16019
83
14
Updatedget-loc@^2.0.3