UNPKG

@metalsmith/collections

Version:

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

79 lines (78 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": "1.3.1", "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", "read-metadata": "^1.0.0" }, "devDependencies": { "auto-changelog": "^2.4.0", "coveralls": "^3.1.1", "eslint": "^8.20.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-node": "^11.1.0", "metalsmith": "^2.5.0", "microbundle": "^0.15.0", "mocha": "^9.2.2", "nodemon": "^2.0.19", "nyc": "^15.1.0", "prettier": "^2.7.1", "release-it": "^15.2.0" }, "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|Release|Merge)'", "coverage": "nyc 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 .", "dev": "nodemon --exec 'npm test'", "release": "release-it .", "build": "microbundle --target node -f cjs,esm --strict --generateTypes=false", "pretest": "npm run build", "test": "nyc mocha" }, "publishConfig": { "access": "public" }, "peerDependencies": { "metalsmith": "^2.5.0" }, "engines": { "node": ">=12" } }