1
0
mirror of https://github.com/kremalicious/astro-redirect-from.git synced 2024-11-22 09:57:03 +01:00
astro-redirect-from/package.json

84 lines
2.1 KiB
JSON

{
"name": "astro-redirect-from",
"version": "1.0.1",
"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 lint && npm run typecheck && npm run test:unit",
"test:unit": "vitest run --coverage --config ./test/vitest.config.ts",
"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"
},
"files": [
"./dist"
],
"devDependencies": {
"@types/node": "^20.6.3",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@vitest/coverage-v8": "^0.34.5",
"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",
"vitest": "^0.34.5"
},
"dependencies": {
"astro": ">= 3",
"globby": "^13.2.2",
"gray-matter": "^4.0.3"
},
"peerDependencies": {
"astro": ">= 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"
}
}