2023-09-22 04:43:19 +02:00
|
|
|
{
|
|
|
|
"name": "astro-redirect-from",
|
2023-09-24 14:03:48 +02:00
|
|
|
"version": "1.0.1",
|
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-09-24 00:25:14 +02:00
|
|
|
"test": "npm run lint && npm run typecheck && npm run test:unit",
|
2023-09-24 00:27:56 +02:00
|
|
|
"test:unit": "vitest run --coverage --config ./test/vitest.config.ts",
|
2023-09-22 14:25:04 +02:00
|
|
|
"lint": "eslint src/",
|
|
|
|
"typecheck": "tsc --noEmit",
|
2023-09-22 14:17:25 +02:00
|
|
|
"format": "prettier --write 'src/**/*.{ts,js,json,md}'",
|
|
|
|
"changelog": "auto-changelog -p",
|
|
|
|
"release": "release-it --non-interactive",
|
|
|
|
"prepublishOnly": "npm run build"
|
|
|
|
},
|
2023-09-23 15:17:33 +02:00
|
|
|
"files": [
|
2023-09-23 20:03:54 +02:00
|
|
|
"./dist"
|
2023-09-23 15:17:33 +02:00
|
|
|
],
|
2023-09-22 04:43:19 +02:00
|
|
|
"devDependencies": {
|
|
|
|
"@types/node": "^20.6.3",
|
2023-09-22 14:25:04 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.7.2",
|
2023-09-24 00:25:14 +02:00
|
|
|
"@vitest/coverage-v8": "^0.34.5",
|
2023-09-22 14:17:25 +02:00
|
|
|
"auto-changelog": "^2.4.0",
|
2023-09-22 04:43:19 +02:00
|
|
|
"eslint": "^8.49.0",
|
|
|
|
"eslint-config-prettier": "^9.0.0",
|
|
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
|
|
"prettier": "^3.0.3",
|
2023-09-22 14:17:25 +02:00
|
|
|
"release-it": "^16.1.5",
|
|
|
|
"typescript": "^5.2.2",
|
2023-09-24 00:25:14 +02:00
|
|
|
"vite": "^4.4.9",
|
|
|
|
"vitest": "^0.34.5"
|
2023-09-22 04:43:19 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-09-22 14:25:04 +02:00
|
|
|
"astro": ">= 3",
|
2023-09-23 15:17:33 +02:00
|
|
|
"globby": "^13.2.2",
|
2023-09-22 04:43:19 +02:00
|
|
|
"gray-matter": "^4.0.3"
|
2023-09-22 14:17:25 +02:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"astro": ">= 3"
|
|
|
|
},
|
2023-09-22 14:28:06 +02:00
|
|
|
"engines": {
|
|
|
|
"node": ">=18.14.1",
|
|
|
|
"npm": ">=6.14.0"
|
|
|
|
},
|
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-09-22 14:25:04 +02:00
|
|
|
}
|
2023-09-22 04:43:19 +02:00
|
|
|
}
|