mirror of
https://github.com/kremalicious/astro-redirect-from.git
synced 2024-12-22 09:23:21 +01:00
Matthias Kretschmann
052440f945
* switch to Node.js v20 * run test on windows too * bump packages * revert windows test runs * readme update * remove astro from dependencies * typing update
98 lines
2.4 KiB
JSON
98 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.9.4",
|
|
"@kremalicious/config": "^1.0.2",
|
|
"@types/node": "^22.10.2",
|
|
"@vitest/coverage-v8": "^2.1.8",
|
|
"astro": "^5.1.0",
|
|
"auto-changelog": "^2.5.0",
|
|
"husky": "^9.1.7",
|
|
"npm-run-all": "^4.1.5",
|
|
"release-it": "^17.10.0",
|
|
"typescript": "^5.7.2",
|
|
"vite": "^6.0.4",
|
|
"vitest": "^2.1.8"
|
|
},
|
|
"dependencies": {
|
|
"globby": "^14.0.2",
|
|
"gray-matter": "^4.0.3"
|
|
},
|
|
"peerDependencies": {
|
|
"astro": ">=3.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=20",
|
|
"astro": ">=3.0.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"
|
|
]
|
|
}
|
|
}
|