mirror of
https://github.com/kremalicious/astro-redirect-from.git
synced 2024-11-22 09:57:03 +01:00
95 lines
2.4 KiB
JSON
95 lines
2.4 KiB
JSON
{
|
|
"name": "astro-redirect-from",
|
|
"version": "1.0.5",
|
|
"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": "eslint --ignore-path .gitignore ./{src,test}/**/*.ts",
|
|
"typecheck": "tsc --noEmit --pretty",
|
|
"format": "prettier --write './src/**/*.{ts,js,json,md}'",
|
|
"changelog": "auto-changelog -p",
|
|
"release": "release-it --non-interactive",
|
|
"prepublishOnly": "npm run build",
|
|
"prepare": "husky install",
|
|
"validate": "run-p --silent typecheck lint"
|
|
},
|
|
"files": [
|
|
"./dist"
|
|
],
|
|
"devDependencies": {
|
|
"@types/node": "^20.10.4",
|
|
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
|
"@vitest/coverage-v8": "^1.0.4",
|
|
"auto-changelog": "^2.4.0",
|
|
"eslint": "^8.55.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-prettier": "^5.0.1",
|
|
"husky": "^8.0.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^3.1.1",
|
|
"release-it": "^17.0.1",
|
|
"typescript": "^5.3.3",
|
|
"vite": "^5.0.8",
|
|
"vitest": "^1.0.4"
|
|
},
|
|
"dependencies": {
|
|
"astro": ">= 3",
|
|
"globby": "^14.0.0",
|
|
"gray-matter": "^4.0.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.14.1",
|
|
"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"
|
|
}
|
|
]
|
|
}
|