1
0
Fork 0
astro-redirect-from/package.json

71 lines
1.8 KiB
JSON

{
"name": "astro-redirect-from",
"version": "0.1.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",
"main": "dist/index.js",
"type": "module",
"scripts": {
"build": "tsc",
"start": "tsc --watch",
"test": "npm run lint && npm run typecheck && npm run build",
"lint": "eslint src/",
"typecheck": "tsc --noEmit",
"format": "prettier --write 'src/**/*.{ts,js,json,md}'",
"changelog": "auto-changelog -p",
"release": "release-it --non-interactive",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@types/node": "^20.6.3",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"auto-changelog": "^2.4.0",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"prettier": "^3.0.3",
"release-it": "^16.1.5",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"dependencies": {
"astro": ">= 3",
"fast-glob": "^3.3.1",
"gray-matter": "^4.0.3"
},
"peerDependencies": {
"astro": ">= 3"
},
"release-it": {
"hooks": {
"before:init": "npm test",
"after:bump": "npm run changelog"
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": false
}
},
"keywords": [
"astro",
"astro-integration",
"redirect",
"redirect-from",
"jekyll-migration"
],
"repository": {
"type": "git",
"url": "git+https://github.com/kremalicious/astro-redirect-from.git"
},
"bugs": {
"url": "https://github.com/kremalicious/astro-redirect-from/issues"
}
}