mirror of
https://github.com/jakejarvis/get-canonical-url.git
synced 2025-04-26 06:35:22 -04:00
74 lines
1.9 KiB
JSON
74 lines
1.9 KiB
JSON
{
|
|
"name": "get-canonical-url",
|
|
"version": "1.0.0",
|
|
"description": "🔗 Determines the current page's canonical URL and optionally normalizes it for consistency.",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/jakejarvis/get-canonical-url",
|
|
"author": {
|
|
"name": "Jake Jarvis",
|
|
"email": "jake@jarv.is",
|
|
"url": "https://jarv.is/"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/jakejarvis/get-canonical-url.git"
|
|
},
|
|
"type": "module",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"main": "./dist/get-canonical-url.cjs.js",
|
|
"module": "./dist/get-canonical-url.esm.js",
|
|
"unpkg": "./dist/get-canonical-url.min.js",
|
|
"types": "./dist/get-canonical-url.d.ts",
|
|
"exports": {
|
|
"require": "./dist/get-canonical-url.cjs.js",
|
|
"import": "./dist/get-canonical-url.esm.js",
|
|
"browser": "./dist/get-canonical-url.min.js"
|
|
},
|
|
"scripts": {
|
|
"build": "rollup -c",
|
|
"watch": "rollup -c -w",
|
|
"test": "mocha",
|
|
"lint": "eslint .",
|
|
"prepublishOnly": "yarn build"
|
|
},
|
|
"dependencies": {
|
|
"normalize-url": "^7.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.15.8",
|
|
"@babel/eslint-parser": "^7.15.8",
|
|
"@babel/preset-env": "^7.15.8",
|
|
"@jakejarvis/eslint-config": "*",
|
|
"@rollup/plugin-babel": "^5.3.0",
|
|
"@rollup/plugin-eslint": "^8.0.1",
|
|
"@rollup/plugin-node-resolve": "^13.0.5",
|
|
"@types/chai": "^4.2.22",
|
|
"@types/jsdom": "^16.2.13",
|
|
"@types/mocha": "^9.0.0",
|
|
"chai": "^4.3.4",
|
|
"eslint": "^7.32.0",
|
|
"eslint-plugin-compat": "~3.13.0",
|
|
"eslint-plugin-import": "~2.24.2",
|
|
"jsdom": "^18.0.0",
|
|
"mocha": "^9.1.2",
|
|
"rollup": "^2.58.0",
|
|
"rollup-plugin-copy": "^3.4.0",
|
|
"rollup-plugin-delete": "^2.0.0",
|
|
"rollup-plugin-filesize": "^9.1.1",
|
|
"rollup-plugin-terser": "^7.0.2"
|
|
},
|
|
"keywords": [
|
|
"url",
|
|
"uri",
|
|
"canonical",
|
|
"link",
|
|
"address",
|
|
"dom",
|
|
"browser",
|
|
"normalize",
|
|
"front-end"
|
|
]
|
|
}
|