UNPKG

metalsmith-html-relative

Version:
85 lines (84 loc) 2.47 kB
{ "name": "metalsmith-html-relative", "version": "2.0.12", "description": "A Metalsmith plugin to convert to relative paths within HTML.", "keywords": [ "metalsmith", "metalsmith-plugin", "plugin" ], "homepage": "https://github.com/emmercm/metalsmith-plugins/tree/main/packages/metalsmith-html-relative#readme", "bugs": { "url": "https://github.com/emmercm/metalsmith-plugins/issues" }, "license": "GPL-3.0-or-later", "author": "Christian Emmer", "type": "module", "files": [ "dist", "!**/vitest.*", "!**/test/**", "!**/*.test.*", "!**/*.tsbuildinfo" ], "main": "dist/index.js", "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.js" } }, "repository": { "type": "git", "url": "git+https://github.com/emmercm/metalsmith-plugins.git" }, "publishConfig": { "access": "public", "provenance": true }, "scripts": { "build": "tsc --build --verbose", "lint": "eslint .", "lint:fix": "eslint . --fix", "test": "node ../../node_modules/vitest/vitest.mjs && eslint .", "test:update": "node ../../node_modules/vitest/vitest.mjs --coverage.enabled --updateSnapshot", "test:watch": "node ../../node_modules/vitest/vitest.mjs --watch", "test:coverage": "node ../../node_modules/vitest/vitest.mjs --coverage.enabled", "prepack": "npm run build && cp -f ../../LICENSE ./", "postpack": "rm ./LICENSE" }, "dependencies": { "cheerio": "^1.2.0", "deepmerge": "^4.3.1", "minimatch": "^10.2.5" }, "peerDependencies": { "metalsmith": "^2.5.0" }, "devDependencies": { "@types/node": "^24.12.2", "@typescript-eslint/eslint-plugin": "^8.57.2", "@vitest/coverage-v8": "^4.1.5", "@vitest/eslint-plugin": "^1.6.16", "assert-dir-equal": "^1.1.0", "eslint": "^9.39.4", "eslint-config-prettier": "^10.1.8", "eslint-plugin-import": "^2.32.0", "eslint-plugin-prettier": "^5.5.5", "eslint-plugin-simple-import-sort": "^12.1.1", "metalsmith": "^2.7.0", "prettier": "^3.8.3", "ts-node": "^10.9.2", "typescript": "^5.9.3", "vitest": "^4.1.5" }, "//engines": [ "Requires ^12.20.0 || ^14.13.1 || >=16.0.0 for ES6 modules.", "Requires >=18.17.0 for cheerio v1.0.0.", "Requires >=20.18.1 for undici v7.0.0, from cheerio v1.0.0." ], "engines": { "node": ">=20.18.1" }, "gitHead": "e3776a728987c16c9a0c7aeb38947a7329d034e3" }