UNPKG

docpad-baseplugin

Version:
142 lines (141 loc) 4.96 kB
{ "name": "docpad-baseplugin", "version": "1.4.0", "description": "BasePlugin class for DocPad", "homepage": "https://github.com/docpad/docpad-baseplugin", "license": "MIT", "keywords": [ "docpad", "esnext", "node", "plugin", "typed", "types" ], "badges": { "list": [ "travisci", "npmversion", "npmdownloads", "daviddm", "daviddmdev", "---", "githubsponsors", "patreon", "flattr", "liberapay", "buymeacoffee", "opencollective", "crypto", "paypal", "wishlist" ], "config": { "githubSponsorsUsername": "balupton", "buymeacoffeeUsername": "balupton", "cryptoURL": "https://bevry.me/crypto", "flattrUsername": "balupton", "liberapayUsername": "bevry", "opencollectiveUsername": "bevry", "patreonUsername": "bevry", "paypalURL": "https://bevry.me/paypal", "wishlistURL": "https://bevry.me/wishlist", "travisTLD": "com", "githubUsername": "docpad", "githubRepository": "docpad-baseplugin", "githubSlug": "docpad/docpad-baseplugin", "npmPackageName": "docpad-baseplugin" } }, "funding": "https://bevry.me/fund", "author": "2018+ Benjamin Lupton <b@lupton.cc> (https://balupton.com)", "maintainers": [ "Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)" ], "contributors": [ "Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)" ], "bugs": { "url": "https://github.com/docpad/docpad-baseplugin/issues" }, "repository": { "type": "git", "url": "https://github.com/docpad/docpad-baseplugin.git" }, "engines": { "node": ">=10" }, "editions": [ { "description": "ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules", "directory": "source", "entry": "index.js", "tags": [ "javascript", "esnext", "require" ], "engines": { "node": "10 || 12 || 13 || 14" } } ], "type": "commonjs", "main": "source/index.js", "dependencies": { "eachr": "^4.5.0", "errlop": "^3.15.0", "extendr": "^5.13.0", "typechecker": "^7.13.0" }, "devDependencies": { "@bevry/update-contributors": "^1.15.0", "assert-helpers": "^6.19.0", "eslint": "^7.6.0", "eslint-config-bevry": "^3.18.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-prettier": "^3.1.4", "jsdoc": "^3.6.5", "kava": "^5.10.0", "prettier": "^2.0.5", "projectz": "^2.13.0", "surge": "^0.21.6", "valid-directory": "^2.8.0" }, "peerDependencies": { "docpad": "^6.82.5" }, "scripts": { "our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next", "our:compile": "echo no need for this project", "our:deploy": "echo no need for this project", "our:meta": "npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz", "our:meta:contributors": "update-contributors", "our:meta:docs": "npm run our:meta:docs:jsdoc", "our:meta:docs:jsdoc": "rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version", "our:meta:projectz": "projectz compile", "our:release": "npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push", "our:release:check-changelog": "cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)", "our:release:check-dirty": "git diff --exit-code", "our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta", "our:release:push": "git push origin master && git push origin --tags", "our:release:tag": "export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"", "our:setup": "npm run our:setup:install", "our:setup:install": "npm install", "our:test": "npm run our:verify && npm test", "our:verify": "npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier", "our:verify:directory": "valid-directory", "our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source", "our:verify:prettier": "prettier --write .", "test": "node ./source/test.js" }, "eslintConfig": { "extends": [ "bevry" ] }, "prettier": { "semi": false, "singleQuote": true } }