2023-09-22 04:43:19 +02:00
|
|
|
{
|
|
|
|
"name": "astro-redirect-from",
|
2024-12-19 20:59:37 +01:00
|
|
|
"version": "1.3.0",
|
2023-09-22 14:17:25 +02:00
|
|
|
"description": "🎯 Set redirect urls in your frontmatter within your Astro site's Markdown files. Mimics the behavior of jekyll-redirect-from.",
|
2023-09-22 04:43:19 +02:00
|
|
|
"author": "Matthias Kretschmann <m@kretschmann.io>",
|
2023-09-22 14:25:04 +02:00
|
|
|
"homepage": "https://kremalicious.com/astro-redirect-from",
|
2023-09-22 04:43:19 +02:00
|
|
|
"license": "MIT",
|
|
|
|
"type": "module",
|
2023-09-23 15:58:29 +02:00
|
|
|
"main": "./dist/index.js",
|
|
|
|
"types": "./dist/@types/index.d.ts",
|
2023-09-22 14:17:25 +02:00
|
|
|
"scripts": {
|
2023-09-23 19:01:43 +02:00
|
|
|
"build": "rm -rf ./dist && tsc",
|
|
|
|
"start": "rm -rf ./dist && tsc --watch",
|
2023-10-04 02:01:58 +02:00
|
|
|
"test": "npm run validate && npm run test:unit",
|
2023-09-24 00:27:56 +02:00
|
|
|
"test:unit": "vitest run --coverage --config ./test/vitest.config.ts",
|
2024-08-12 12:55:22 +02:00
|
|
|
"lint": "biome check .",
|
|
|
|
"format": "biome check --write .",
|
2023-10-04 02:01:58 +02:00
|
|
|
"typecheck": "tsc --noEmit --pretty",
|
2023-09-22 14:17:25 +02:00
|
|
|
"changelog": "auto-changelog -p",
|
|
|
|
"release": "release-it --non-interactive",
|
2023-10-04 02:01:58 +02:00
|
|
|
"prepublishOnly": "npm run build",
|
2024-02-26 12:51:52 +01:00
|
|
|
"prepare": "husky",
|
2023-10-04 02:01:58 +02:00
|
|
|
"validate": "run-p --silent typecheck lint"
|
2023-09-22 14:17:25 +02:00
|
|
|
},
|
2024-07-26 15:13:02 +02:00
|
|
|
"files": ["./dist"],
|
2023-09-22 04:43:19 +02:00
|
|
|
"devDependencies": {
|
2024-12-19 20:52:13 +01:00
|
|
|
"@biomejs/biome": "^1.9.4",
|
2024-07-26 15:13:02 +02:00
|
|
|
"@kremalicious/config": "^1.0.2",
|
2024-12-19 20:52:13 +01:00
|
|
|
"@types/node": "^22.10.2",
|
|
|
|
"@vitest/coverage-v8": "^2.1.8",
|
|
|
|
"astro": "^5.1.0",
|
|
|
|
"auto-changelog": "^2.5.0",
|
|
|
|
"husky": "^9.1.7",
|
2023-10-04 02:01:58 +02:00
|
|
|
"npm-run-all": "^4.1.5",
|
2024-12-19 20:52:13 +01:00
|
|
|
"release-it": "^17.10.0",
|
|
|
|
"typescript": "^5.7.2",
|
|
|
|
"vite": "^6.0.4",
|
|
|
|
"vitest": "^2.1.8"
|
2023-09-22 04:43:19 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-07-26 15:13:02 +02:00
|
|
|
"globby": "^14.0.2",
|
2023-09-22 04:43:19 +02:00
|
|
|
"gray-matter": "^4.0.3"
|
2023-09-22 14:17:25 +02:00
|
|
|
},
|
2024-12-19 20:52:13 +01:00
|
|
|
"peerDependencies": {
|
|
|
|
"astro": ">=3.0.0"
|
|
|
|
},
|
2023-09-22 14:28:06 +02:00
|
|
|
"engines": {
|
2024-12-19 20:52:13 +01:00
|
|
|
"node": ">=20",
|
|
|
|
"astro": ">=3.0.0"
|
2023-09-22 14:28:06 +02:00
|
|
|
},
|
2023-09-22 14:17:25 +02:00
|
|
|
"release-it": {
|
|
|
|
"hooks": {
|
|
|
|
"after:bump": "npm run changelog"
|
|
|
|
},
|
|
|
|
"git": {
|
|
|
|
"tagName": "v${version}"
|
|
|
|
},
|
|
|
|
"github": {
|
|
|
|
"release": true
|
|
|
|
},
|
|
|
|
"npm": {
|
|
|
|
"publish": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"astro",
|
2023-09-24 14:03:29 +02:00
|
|
|
"withastro",
|
2023-09-22 14:17:25 +02:00
|
|
|
"astro-integration",
|
|
|
|
"redirect",
|
|
|
|
"redirect-from",
|
2023-09-23 15:58:29 +02:00
|
|
|
"jekyll-migration",
|
2023-09-24 14:03:29 +02:00
|
|
|
"markdown",
|
|
|
|
"seo"
|
2023-09-22 14:17:25 +02:00
|
|
|
],
|
2023-09-22 14:25:04 +02:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/kremalicious/astro-redirect-from.git"
|
|
|
|
},
|
2023-09-22 14:17:25 +02:00
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/kremalicious/astro-redirect-from/issues"
|
2023-10-25 01:55:44 +02:00
|
|
|
},
|
|
|
|
"funding": [
|
|
|
|
{
|
|
|
|
"type": "github",
|
|
|
|
"url": "https://github.com/sponsors/kremalicious"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "individual",
|
|
|
|
"url": "https://kremalicious.com/thanks"
|
|
|
|
}
|
2024-02-26 12:51:52 +01:00
|
|
|
],
|
|
|
|
"lint-staged": {
|
2024-07-26 15:13:02 +02:00
|
|
|
"*": [
|
|
|
|
"biome check --write --no-errors-on-unmatched --files-ignore-unknown=true"
|
2024-02-26 12:51:52 +01:00
|
|
|
]
|
|
|
|
}
|
2023-09-22 04:43:19 +02:00
|
|
|
}
|