mini-url
Version:
Lightweight isomorphic url parser.
66 lines (65 loc) • 1.78 kB
JSON
{
"name": "mini-url",
"description": "Lightweight isomorphic url parser.",
"version": "2.1.9",
"author": "Dylan Piercey <pierceydylan@gmail.com>",
"browser": {
"./dist/url/index.js": "./dist/url/browser.js"
},
"bugs": "https://github.com/DylanPiercey/mini-url/issues",
"dependencies": {
"get-loc": "^2.0.6",
"get-win": "^1.0.1"
},
"devDependencies": {
"@types/mocha": "^2.2.43",
"@types/node": "^8.0.46",
"coveralls": "^3.0.0",
"husky": "^0.14.3",
"jsdom": "^11.3.0",
"jsdom-global": "^3.0.2",
"lint-staged": "^4.3.0",
"mocha": "^4.0.1",
"nyc": "^11.2.1",
"prettier": "^1.7.4",
"ts-node": "^3.3.0",
"tslint": "^5.8.0",
"tslint-config-prettier": "^1.6.0",
"typescript": "^2.5.3"
},
"files": [
"dist"
],
"homepage": "https://github.com/DylanPiercey/mini-url",
"keywords": [
"URL",
"isomorphic",
"mini",
"parse",
"resolve",
"universal"
],
"license": "MIT",
"lint-staged": {
"*.ts": [
"prettier --write",
"tslint -t codeFrame -c tslint.json",
"git add"
]
},
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/DylanPiercey/mini-url"
},
"scripts": {
"build": "tsc",
"coveralls": "cat coverage/lcov.info | coveralls",
"format-all": "find {src,test} -name '*.ts' | xargs prettier --write",
"mocha": "mocha -r ts-node/register ./test/**/*.test.ts",
"precommit": "lint-staged && npm test && npm run build",
"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 npm run mocha"
},
"types": "dist/index.d.ts"
}