mirror of
https://github.com/kremalicious/gatsby-redirect-from.git
synced 2024-12-22 09:13:20 +01:00
68 lines
1.8 KiB
JSON
68 lines
1.8 KiB
JSON
{
|
|
"name": "gatsby-redirect-from",
|
|
"version": "1.1.0",
|
|
"author": "Matthias Kretschmann <m@kretschmann.io>",
|
|
"description": "Set redirect urls in your YAML frontmatter within your Gatsby site's Markdown files. Mimics the behavior of jekyll-redirect-from.",
|
|
"homepage": "https://kremalicious.com/gatsby-redirect-from/",
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "cross-env NODE_ENV=production babel src --out-dir .",
|
|
"start": "babel -w src --out-dir .",
|
|
"test": "npm run lint && jest --coverage --config ./test/jest.config.json",
|
|
"lint": "eslint ./{src,test}/**/*.js",
|
|
"format": "prettier --write '{src,test}/**/*.{js,jsx}'",
|
|
"release": "release-it --non-interactive",
|
|
"changelog": "auto-changelog -p",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"browserslist": [
|
|
"maintained node versions"
|
|
],
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.24.7",
|
|
"@babel/core": "^7.24.7",
|
|
"@babel/preset-env": "^7.24.7",
|
|
"auto-changelog": "^2.4.0",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.50.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"prettier": "^3.3.1",
|
|
"release-it": "^17.3.0"
|
|
},
|
|
"peerDependencies": {
|
|
"gatsby": "^4.0.0 || ^5.0.0",
|
|
"gatsby-plugin-meta-redirect": ">=1.1.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"repository": "github:kremalicious/gatsby-redirect-from",
|
|
"bugs": {
|
|
"url": "https://github.com/kremalicious/gatsby-redirect-from/issues"
|
|
},
|
|
"keywords": [
|
|
"gatsby",
|
|
"gatsby-plugin",
|
|
"redirect"
|
|
],
|
|
"release-it": {
|
|
"hooks": {
|
|
"before:init": "npm test",
|
|
"after:bump": "npm run changelog"
|
|
},
|
|
"git": {
|
|
"tagName": "v${version}"
|
|
},
|
|
"github": {
|
|
"release": true
|
|
},
|
|
"npm": {
|
|
"publish": false
|
|
}
|
|
}
|
|
}
|