@@ -3,21 +3,24 @@
|
3 | 3 | "version": "0.1.0", |
4 | 4 | "description": "🎯 Set redirect urls in your frontmatter within your Astro site's Markdown files. Mimics the behavior of jekyll-redirect-from.", |
5 | 5 | "author": "Matthias Kretschmann <m@kretschmann.io>", |
| 6 | +"homepage": "https://kremalicious.com/astro-redirect-from", |
6 | 7 | "license": "MIT", |
7 | 8 | "main": "dist/index.js", |
8 | 9 | "type": "module", |
9 | 10 | "scripts": { |
10 | 11 | "build": "tsc", |
11 | 12 | "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", |
14 | 16 | "format": "prettier --write 'src/**/*.{ts,js,json,md}'", |
15 | 17 | "changelog": "auto-changelog -p", |
16 | 18 | "release": "release-it --non-interactive", |
17 | 19 | "prepublishOnly": "npm run build" |
18 | 20 | }, |
19 | 21 | "devDependencies": { |
20 | 22 | "@types/node": "^20.6.3", |
| 23 | +"@typescript-eslint/eslint-plugin": "^6.7.2", |
21 | 24 | "auto-changelog": "^2.4.0", |
22 | 25 | "eslint": "^8.49.0", |
23 | 26 | "eslint-config-prettier": "^9.0.0", |
@@ -28,7 +31,7 @@
|
28 | 31 | "vite": "^4.4.9" |
29 | 32 | }, |
30 | 33 | "dependencies": { |
31 | | -"astro": "^3.1.2", |
| 34 | +"astro": ">= 3", |
32 | 35 | "fast-glob": "^3.3.1", |
33 | 36 | "gray-matter": "^4.0.3" |
34 | 37 | }, |
@@ -50,19 +53,18 @@
|
50 | 53 | "publish": false |
51 | 54 | } |
52 | 55 | }, |
53 | | -"repository": { |
54 | | -"type": "git", |
55 | | -"url": "git+https://github.com/kremalicious/astro-redirect-from.git" |
56 | | - }, |
57 | 56 | "keywords": [ |
58 | 57 | "astro", |
59 | 58 | "astro-integration", |
60 | 59 | "redirect", |
61 | 60 | "redirect-from", |
62 | 61 | "jekyll-migration" |
63 | 62 | ], |
| 63 | +"repository": { |
| 64 | +"type": "git", |
| 65 | +"url": "git+https://github.com/kremalicious/astro-redirect-from.git" |
| 66 | + }, |
64 | 67 | "bugs": { |
65 | 68 | "url": "https://github.com/kremalicious/astro-redirect-from/issues" |
66 | | - }, |
67 | | -"homepage": "https://kremalicious.com/astro-redirect-from" |
| 69 | + } |
68 | 70 | } |