svelte-sitemap
Version:
Small helper which scans your Svelte routes folder and generates static sitemap.xml
64 lines • 2.13 kB
JSON
{
"name": "svelte-sitemap",
"version": "2.7.1",
"description": "Small helper which scans your Svelte routes folder and generates static sitemap.xml",
"main": "./index.js",
"author": "BART! <bart@bartweb.cz>",
"bin": {
"svelte-sitemap": "index.js"
},
"scripts": {
"start": "tsc -w",
"prebuild": "rimraf dist",
"build": "tsc",
"postbuild": "npm-prepare-dist -s postinstall",
"tsc": "tsc",
"demo": "tsx demo",
"lint": "eslint ./src/**/**/* --fix",
"test": "vitest",
"test:outdir": "yarn outdir:prepare && OUT_DIR='public' yarn test && yarn outdir:revert",
"outdir:prepare": "mv build public",
"outdir:revert": "mv public build",
"test:coverage": "vitest run --coverage",
"postversion": "git push && git push --follow-tags",
"publish:next": "yarn && yarn build && yarn test && cd dist && npm publish --tag next",
"publish:beta": "yarn && yarn build && yarn test && cd dist && npm publish --tag beta",
"release:beta": "npm version prerelease -m \"chore(update): prelease %s β\"",
"release:patch": "git checkout master && npm version patch -m \"chore(update): patch release %s 🐛 \"",
"release:minor": "git checkout master && npm version minor -m \"chore(update): release %s 🚀\"",
"release:major": "git checkout master && npm version major -m \"chore(update): major release %s 💥 \"",
"prepare": "husky"
},
"dependencies": {
"fast-glob": "^3.3.3",
"minimist": "^1.2.8",
"xmlbuilder2": "^3.1.1"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"url": "git+https://github.com/bartholomej/svelte-sitemap.git",
"type": "git"
},
"bugs": {
"url": "https://github.com/bartholomej/svelte-sitemap/issues"
},
"homepage": "https://github.com/bartholomej/svelte-sitemap#readme",
"keywords": [
"svelte",
"sveltekit",
"static",
"sitemap.xml",
"generator",
"typescript",
"build"
],
"engines": {
"node": ">= 14.17.0"
},
"license": "MIT",
"module": "./index.js",
"types": "./index.d.ts"
}