1
0
mirror of https://github.com/kremalicious/astro-redirect-from.git synced 2024-12-22 09:23:21 +01:00
astro-redirect-from/package.json

95 lines
2.4 KiB
JSON

{
"name": "astro-redirect-from",
"version": "1.2.0",
"description": "🎯 Set redirect urls in your frontmatter within your Astro site's Markdown files. Mimics the behavior of jekyll-redirect-from.",
"author": "Matthias Kretschmann <m@kretschmann.io>",
"homepage": "https://kremalicious.com/astro-redirect-from",
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/@types/index.d.ts",
"scripts": {
"build": "rm -rf ./dist && tsc",
"start": "rm -rf ./dist && tsc --watch",
"test": "npm run validate && npm run test:unit",
"test:unit": "vitest run --coverage --config ./test/vitest.config.ts",
"lint": "biome check .",
"format": "biome check --write .",
"typecheck": "tsc --noEmit --pretty",
"changelog": "auto-changelog -p",
"release": "release-it --non-interactive",
"prepublishOnly": "npm run build",
"prepare": "husky",
"validate": "run-p --silent typecheck lint"
},
"files": ["./dist"],
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@kremalicious/config": "^1.0.2",
"@types/node": "^22.2.0",
"@vitest/coverage-v8": "^2.0.5",
"auto-changelog": "^2.4.0",
"husky": "^9.1.4",
"npm-run-all": "^4.1.5",
"release-it": "^17.6.0",
"typescript": "^5.5.4",
"vite": "^5.4.0",
"vitest": "^2.0.5"
},
"dependencies": {
"astro": ">= 3",
"globby": "^14.0.2",
"gray-matter": "^4.0.3"
},
"engines": {
"node": ">=18.18.0",
"npm": ">=6.14.0"
},
"release-it": {
"hooks": {
"after:bump": "npm run changelog"
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": false
}
},
"keywords": [
"astro",
"withastro",
"astro-integration",
"redirect",
"redirect-from",
"jekyll-migration",
"markdown",
"seo"
],
"repository": {
"type": "git",
"url": "git+https://github.com/kremalicious/astro-redirect-from.git"
},
"bugs": {
"url": "https://github.com/kremalicious/astro-redirect-from/issues"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/kremalicious"
},
{
"type": "individual",
"url": "https://kremalicious.com/thanks"
}
],
"lint-staged": {
"*": [
"biome check --write --no-errors-on-unmatched --files-ignore-unknown=true"
]
}
}