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

105 lines
2.6 KiB
JSON

{
"name": "astro-redirect-from",
"version": "1.0.7",
"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",
"validate": "run-p --silent typecheck lint"
},
"files": [
"./dist"
],
"devDependencies": {
"@types/node": "^20.12.5",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@vitest/coverage-v8": "^1.4.0",
"auto-changelog": "^2.4.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"release-it": "^17.1.1",
"typescript": "^5.4.4",
"vite": "^5.2.8",
"vitest": "^1.4.0"
},
"dependencies": {
"astro": ">= 3",
"globby": "^14.0.1",
"gray-matter": "^4.0.3"
},
"engines": {
"node": ">=18.18.0",
"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"
}
],
"lint-staged": {
"*.ts": [
"tsc --noEmit --pretty",
"prettier --write",
"eslint"
],
"**/*.json": [
"prettier --write"
]
}
}