UNPKG

@metalsmith/collections

Version:

A Metalsmith plugin that adds collections of files to the global metadata.

78 lines (77 loc) 2.17 kB
{ "name": "@metalsmith/collections", "description": "A Metalsmith plugin that adds collections of files to the global metadata.", "keywords": [ "collections", "metalsmith", "metalsmith-plugin", "static-site" ], "homepage": "https://github.com/metalsmith/collections#readme", "bugs": { "url": "https://github.com/metalsmith/collections/issues" }, "repository": { "type": "git", "url": "https://github.com/metalsmith/collections.git" }, "version": "2.0.0", "license": "MIT", "source": "src/index.js", "main": "lib/index.cjs", "module": "lib/index.js", "type": "module", "types": "./lib/index.d.ts", "exports": { "types": "./lib/index.d.ts", "import": "./lib/index.js", "require": "./lib/index.cjs" }, "dependencies": { "lodash.get": "^4.4.2" }, "devDependencies": { "@eslint/js": "^9.39.2", "@metalsmith/layouts": "^3.0.0", "auto-changelog": "^2.5.0", "c8": "^10.1.3", "eslint": "^9.39.2", "eslint-config-prettier": "^10.1.8", "eslint-plugin-import": "^2.32.0", "eslint-plugin-n": "^17.23.1", "jstransformer-nunjucks": "^1.2.0", "metalsmith": "^2.6.3", "microbundle": "^0.15.1", "mocha": "^11.7.5", "prettier": "^3.7.4", "release-it": "^19.2.2" }, "directories": { "lib": "lib", "test": "test" }, "files": [ "lib/*" ], "scripts": { "changelog": "auto-changelog -u --starting-date 2021-12-01 --sort-commits date-desc --commit-limit false --ignore-commit-pattern '(dev|test|Release|Merge)'", "coverage": "npm test && c8 report --reporter=text-lcov > ./coverage.info", "format": "prettier --write \"**/*.{yml,md,js,json}\"", "format:check": "prettier --list-different \"**/*.{yml,md,js,json}\"", "lint": "eslint --fix .", "lint:check": "eslint --fix-dry-run .", "release": "release-it .", "build": "microbundle --target node -f cjs,esm --strict --generateTypes=false", "pretest": "npm run build", "test": "c8 mocha" }, "publishConfig": { "access": "public" }, "peerDependencies": { "metalsmith": "^2.6.0" }, "engines": { "node": ">=14.14.0" } }