react-secure-link
Version:
A TypeScript compatible, zero dependency React component to avoid security exploits when opening a link in a new tab.
73 lines (72 loc) • 2.06 kB
JSON
{
"name": "react-secure-link",
"version": "3.2.0",
"description": "A TypeScript compatible, zero dependency React component to avoid security exploits when opening a link in a new tab.",
"keywords": [
"react",
"react-component",
"link",
"url",
"secure",
"noopener",
"noreferrer",
"href",
"exploit"
],
"private": false,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "webpack --progress --mode development --watch",
"build": "webpack --mode production",
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"test": "jest --coverage",
"ci-test": "jest --coverage --ci --reporters=default --reporters=jest-junit"
},
"peerDependencies": {
"react": ">=16"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dbudwin/react-secure-link.git"
},
"author": "Drew Budwin",
"license": "MIT",
"bugs": {
"url": "https://github.com/dbudwin/react-secure-link/issues"
},
"homepage": "https://github.com/dbudwin/react-secure-link#readme",
"devDependencies": {
"@babel/core": "^7.18.0",
"@babel/preset-env": "^7.18.0",
"@babel/preset-react": "^7.17.12",
"@babel/preset-typescript": "^7.17.12",
"@faker-js/faker": "^8.2.0",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@types/faker": "^6.6.9",
"@types/jest": "^29.5.7",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.5",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"babel-loader": "^9.1.3",
"eslint": "^8.16.0",
"eslint-plugin-jest-dom": "^5.1.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-testing-library": "^6.1.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"ts-loader": "^9.3.0",
"ts-node": "^10.8.0",
"typescript": "^5.2.2",
"webpack": "^5.72.1",
"webpack-cli": "^5.1.4"
}
}