GitHub

Original file line numberDiff line numberDiff line change

@@ -3,21 +3,24 @@

33

"version": "0.1.0",

44

"description": "🎯 Set redirect urls in your frontmatter within your Astro site's Markdown files. Mimics the behavior of jekyll-redirect-from.",

55

"author": "Matthias Kretschmann <m@kretschmann.io>",

6+

"homepage": "https://kremalicious.com/astro-redirect-from",

67

"license": "MIT",

78

"main": "dist/index.js",

89

"type": "module",

910

"scripts": {

1011

"build": "tsc",

1112

"start": "tsc --watch",

12-

"test": "npm run lint && npm run build",

13-

"lint": "eslint src/**/*.js",

13+

"test": "npm run lint && npm run typecheck && npm run build",

14+

"lint": "eslint src/",

15+

"typecheck": "tsc --noEmit",

1416

"format": "prettier --write 'src/**/*.{ts,js,json,md}'",

1517

"changelog": "auto-changelog -p",

1618

"release": "release-it --non-interactive",

1719

"prepublishOnly": "npm run build"

1820

},

1921

"devDependencies": {

2022

"@types/node": "^20.6.3",

23+

"@typescript-eslint/eslint-plugin": "^6.7.2",

2124

"auto-changelog": "^2.4.0",

2225

"eslint": "^8.49.0",

2326

"eslint-config-prettier": "^9.0.0",

@@ -28,7 +31,7 @@

2831

"vite": "^4.4.9"

2932

},

3033

"dependencies": {

31-

"astro": "^3.1.2",

34+

"astro": ">= 3",

3235

"fast-glob": "^3.3.1",

3336

"gray-matter": "^4.0.3"

3437

},

@@ -50,19 +53,18 @@

5053

"publish": false

5154

}

5255

},

53-

"repository": {

54-

"type": "git",

55-

"url": "git+https://github.com/kremalicious/astro-redirect-from.git"

56-

},

5756

"keywords": [

5857

"astro",

5958

"astro-integration",

6059

"redirect",

6160

"redirect-from",

6261

"jekyll-migration"

6362

],

63+

"repository": {

64+

"type": "git",

65+

"url": "git+https://github.com/kremalicious/astro-redirect-from.git"

66+

},

6467

"bugs": {

6568

"url": "https://github.com/kremalicious/astro-redirect-from/issues"

66-

},

67-

"homepage": "https://kremalicious.com/astro-redirect-from"

69+

}

6870

}

Read the original on github.com ↗