@mapbox/link-hijacker
Version:
Hijack clicks on and within links, probably for client-side routing
58 lines (57 loc) • 1.3 kB
JSON
{
"name": "@mapbox/link-hijacker",
"version": "1.1.0",
"description": "Hijack clicks on and within links, probably for client-side routing",
"main": "index.js",
"scripts": {
"format": "prettier --single-quote --write '{,test/**/}*.js'",
"precommit": "lint-staged",
"lint": "eslint .",
"test-manual": "budo test/manual/manual.js -l -d test/manual",
"start": "npm run test-manual",
"test-jest": "jest",
"pretest": "npm run lint",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mapbox/link-hijacker.git"
},
"keywords": [
"client-side-routing",
"routing",
"hijack",
"links"
],
"author": "Mapbox",
"license": "MIT",
"bugs": {
"url": "https://github.com/mapbox/link-hijacker/issues"
},
"homepage": "https://github.com/mapbox/link-hijacker#readme",
"devDependencies": {
"budo": "^10.0.3",
"eslint": "^4.1.0",
"husky": "^0.14.1",
"jest": "^20.0.4",
"lint-staged": "^4.0.0",
"prettier": "^1.4.4"
},
"lint-staged": {
"**/*.js": [
"eslint",
"prettier --single-quote --write",
"git add"
]
},
"jest": {
"coverageReporters": [
"text",
"html"
],
"clearMocks": true,
"roots": [
"./test"
]
}
}