{"_id":"@dschau/create-gatsby-blog-post","_rev":"7-fc58815a8bba975bbfcbef3f21923ca7","name":"@dschau/create-gatsby-blog-post","description":"A utility to create a gatsby blog post","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0-rc.0":{"name":"@dschau/create-gatsby-blog-post","description":"A utility to create a gatsby blog post","version":"1.0.0-rc.0","main":"index.js","repository":{"type":"git","url":"git+https://github.com/dschau/create-gatsby-blog-post.git"},"license":"MIT","bin":{"create-post":"cli.js"},"scripts":{"precommit":"lint-staged","prebuild":"del-cli \"dist/**/*\"","build":"tsc","build:publish":"npm run build && cp ./package.json dist/package.json && cd dist && npm publish --access public","postbuild:publish":"cd ../","prettier":"prettier --single-quote --write \"src/**/*.ts\"","test":"jest","test:watch":"npm run test -- --watch"},"dependencies":{"date-fns":"~1.28.5","globby":"~6.1.0","gray-matter":"~3.0.2","lodash.capitalize":"~4.2.1","lodash.kebabcase":"~4.1.1","mz":"~2.6.0","mz-modules":"~1.0.0","yargs":"~8.0.2"},"devDependencies":{"@types/jest":"~20.0.2","@types/node":"~8.0.9","del-cli":"~1.1.0","husky":"~0.14.3","jest":"~20.0.4","lint-staged":"~4.0.1","prettier":"~1.5.2","rmfr":"~1.0.3","ts-jest":"~20.0.7","typescript":"~2.4.1"},"lint-staged":{"src/**/*.ts":["prettier --single-quote --write","git add"]},"bugs":{"url":"https://github.com/dschau/create-gatsby-blog-post/issues"},"homepage":"https://github.com/dschau/create-gatsby-blog-post#readme","_id":"@dschau/create-gatsby-blog-post@1.0.0-rc.0","_shasum":"e51c0536d7d44cc2990c4f35ca43eeadd15d3c31","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"dist":{"shasum":"e51c0536d7d44cc2990c4f35ca43eeadd15d3c31","tarball":"https://registry.npmjs.org/@dschau/create-gatsby-blog-post/-/create-gatsby-blog-post-1.0.0-rc.0.tgz","integrity":"sha512-vZYvh5FgSBekfDkNP1Feht+URzmXqxc0dy2l+SA06UQOinlYss6YTN9eGdvn6QtgU1nPmfNG8l5ypH67kD/tOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGldVVNWD+9EDnIVRjV/xAhtdvFI7r4uS8DE8rn+1YZ8AiAp7w7PWQUTX7dwW/RmkfclooGWxDse/+5asHARkARb/A=="}]},"maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-gatsby-blog-post-1.0.0-rc.0.tgz_1500324108071_0.1935489943716675"}},"1.0.0-rc.1":{"name":"@dschau/create-gatsby-blog-post","description":"A utility to create a gatsby blog post","version":"1.0.0-rc.1","main":"index.js","repository":{"type":"git","url":"git+https://github.com/dschau/create-gatsby-blog-post.git"},"license":"MIT","bin":{"create-post":"cli.js"},"scripts":{"precommit":"lint-staged","prebuild":"del-cli \"dist/**/*\"","build":"tsc","build:publish":"npm run build && cd dist && npm run copy && npm publish --access public","copy":"cp ./package.json dist/package.json && cp ./.gitignore dist/.gitignore","postbuild:publish":"cd ../","prettier":"prettier --single-quote --write \"src/**/*.ts\"","test":"jest","test:watch":"npm run test -- --watch"},"dependencies":{"date-fns":"~1.28.5","globby":"~6.1.0","gray-matter":"~3.0.2","lodash.capitalize":"~4.2.1","lodash.kebabcase":"~4.1.1","mz":"~2.6.0","mz-modules":"~1.0.0","yargs":"~8.0.2"},"devDependencies":{"@types/jest":"~20.0.2","@types/node":"~8.0.9","del-cli":"~1.1.0","husky":"~0.14.3","jest":"~20.0.4","lint-staged":"~4.0.1","prettier":"~1.5.2","rmfr":"~1.0.3","ts-jest":"~20.0.7","typescript":"~2.4.1"},"lint-staged":{"src/**/*.ts":["prettier --single-quote --write","git add"]},"bugs":{"url":"https://github.com/dschau/create-gatsby-blog-post/issues"},"homepage":"https://github.com/dschau/create-gatsby-blog-post#readme","_id":"@dschau/create-gatsby-blog-post@1.0.0-rc.1","_shasum":"58cb78a0e9268c82a588f650d3f762361d869618","_from":".","_npmVersion":"2.15.9","_nodeVersion":"7.10.0","_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"dist":{"shasum":"58cb78a0e9268c82a588f650d3f762361d869618","tarball":"https://registry.npmjs.org/@dschau/create-gatsby-blog-post/-/create-gatsby-blog-post-1.0.0-rc.1.tgz","integrity":"sha512-2Qdiue+8Qt1TltNnlSU9dgiEhTWV7cBUZsFNFbrMPf0gqSmiyIcTalL4PUxE+wfIULwiR+M8+XFdWxP3nebgKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4sMddOiI4O1j6JTpIx960NyIyFtWuF6lhLG8ktUZWtQIgAd4fbeGM0gBj456QxeUwSnvqmfBmSFOO5fK9gJcoanw="}]},"maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-gatsby-blog-post-1.0.0-rc.1.tgz_1500324639102_0.951367056928575"}},"1.0.0":{"name":"@dschau/create-gatsby-blog-post","description":"A utility to create a gatsby blog post","version":"1.0.0","main":"index.js","repository":{"type":"git","url":"git+https://github.com/dschau/create-gatsby-blog-post.git"},"license":"MIT","bin":{"create-post":"cli.js"},"scripts":{"precommit":"lint-staged","prebuild":"del-cli \"dist/**/*\"","build":"tsc","build:publish":"npm run build && cd dist && npm run copy && npm publish --access public","build:link":"npm run build && cd dist && npm run copy && npm link","postbuild:link":"cd ../","copy":"cp ./package.json dist/package.json && cp ./.gitignore dist/.gitignore","postbuild:publish":"cd ../","prettier":"prettier --single-quote --write \"src/**/*.ts\"","test":"jest","test:watch":"npm run test -- --watch"},"dependencies":{"date-fns":"~1.28.5","globby":"~6.1.0","gray-matter":"~3.0.2","lodash.capitalize":"~4.2.1","lodash.kebabcase":"~4.1.1","mz":"~2.6.0","mz-modules":"~1.0.0","yargs":"~8.0.2"},"devDependencies":{"@types/jest":"~20.0.2","@types/node":"~8.0.9","del-cli":"~1.1.0","husky":"~0.14.3","jest":"~20.0.4","lint-staged":"~4.0.1","prettier":"~1.5.2","rmfr":"~1.0.3","ts-jest":"~20.0.7","typescript":"~2.4.1"},"lint-staged":{"src/**/*.ts":["prettier --single-quote --write","git add"]},"bugs":{"url":"https://github.com/dschau/create-gatsby-blog-post/issues"},"homepage":"https://github.com/dschau/create-gatsby-blog-post#readme","_id":"@dschau/create-gatsby-blog-post@1.0.0","_shasum":"2aa127d758e6507056790471aede4ead6a4afd1e","_from":".","_npmVersion":"2.15.9","_nodeVersion":"7.10.0","_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"dist":{"shasum":"2aa127d758e6507056790471aede4ead6a4afd1e","tarball":"https://registry.npmjs.org/@dschau/create-gatsby-blog-post/-/create-gatsby-blog-post-1.0.0.tgz","integrity":"sha512-C14eOp9R5wgrB5QvFfBVlB0PFnpJHleH84XOUNS19Av2tgplanoTz0TgSiDt55skTkDXLWL3G7naS1Aqse9oOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2LR1qMPmrCuEJs9jg8a5NosPOZ0uFRc2Vn4QM3cjedAIhAI9+Ii9eAZZS5aVwKvbWK0PjMnTFbuqsWQ16s1QpZmW+"}]},"maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-gatsby-blog-post-1.0.0.tgz_1500325429215_0.4154278552159667"}},"1.0.1":{"name":"@dschau/create-gatsby-blog-post","description":"A utility to create a gatsby blog post","version":"1.0.1","main":"index.js","repository":{"type":"git","url":"git+https://github.com/dschau/create-gatsby-blog-post.git"},"license":"MIT","bin":{"create-post":"cli.js"},"scripts":{"precommit":"lint-staged","prebuild":"del-cli \"dist/**/*\"","build":"tsc","build:publish":"npm run build && cd dist && npm run copy && npm publish --access public","build:link":"npm run build && cd dist && npm run copy && npm link","postbuild:link":"cd ../","copy":"cp ./package.json dist/package.json & cp ./.gitignore dist/.gitignore & cp ./README.md dist/README.md","postbuild:publish":"cd ../","prettier":"prettier --single-quote --write \"src/**/*.ts\"","test":"jest","test:watch":"npm run test -- --watch"},"dependencies":{"date-fns":"~1.28.5","globby":"~6.1.0","gray-matter":"~3.0.2","lodash.capitalize":"~4.2.1","lodash.kebabcase":"~4.1.1","mz":"~2.6.0","mz-modules":"~1.0.0","yargs":"~8.0.2"},"devDependencies":{"@types/jest":"~20.0.2","@types/node":"~8.0.9","del-cli":"~1.1.0","husky":"~0.14.3","jest":"~20.0.4","lint-staged":"~4.0.1","prettier":"~1.5.2","rmfr":"~1.0.3","ts-jest":"~20.0.7","typescript":"~2.4.1"},"lint-staged":{"src/**/*.ts":["prettier --single-quote --write","git add"]},"bugs":{"url":"https://github.com/dschau/create-gatsby-blog-post/issues"},"homepage":"https://github.com/dschau/create-gatsby-blog-post#readme","_id":"@dschau/create-gatsby-blog-post@1.0.1","_shasum":"eda8acbe40582f52e1909390eade8c87cc671570","_from":".","_npmVersion":"2.15.9","_nodeVersion":"7.10.0","_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"dist":{"shasum":"eda8acbe40582f52e1909390eade8c87cc671570","tarball":"https://registry.npmjs.org/@dschau/create-gatsby-blog-post/-/create-gatsby-blog-post-1.0.1.tgz","integrity":"sha512-cUj8Rkq+IyFiiA2xp4N22sZ9cggW/dsPcAQ6iCbMruSHDDEtoG/L+4Cusg7mGOle12tqmzTMEjA3QB5a8Ab0Bw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHKuyR/QV73zoSpdWt5Bj5/TiJ/C10IuK6lgmzhBBdHPAiAM3PjkKqv5XripZfhzMFysdBqhtja9IdCuDcwpC1ZXoA=="}]},"maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-gatsby-blog-post-1.0.1.tgz_1500325961869_0.7738216407597065"}},"1.0.2":{"name":"@dschau/create-gatsby-blog-post","description":"A utility to create a gatsby blog post","version":"1.0.2","main":"index.js","repository":{"type":"git","url":"git+https://github.com/dschau/create-gatsby-blog-post.git"},"license":"MIT","bin":{"create-post":"cli.js"},"scripts":{"precommit":"lint-staged","prebuild":"del-cli \"dist/**/*\"","build":"tsc","build:publish":"npm run build && cd dist && npm run copy && npm publish --access public","build:link":"npm run build && cd dist && npm run copy && npm link","postbuild:link":"cd ../","copy":"cp ./package.json dist/package.json & cp ./.gitignore dist/.gitignore & cp ./README.md dist/README.md","postbuild:publish":"cd ../","prettier":"prettier --single-quote --write \"src/**/*.ts\"","test":"jest","test:watch":"npm run test -- --watch"},"dependencies":{"date-fns":"~1.28.5","globby":"~6.1.0","gray-matter":"~3.0.2","lodash.capitalize":"~4.2.1","lodash.kebabcase":"~4.1.1","mz":"~2.6.0","mz-modules":"~1.0.0","yargs":"~8.0.2"},"devDependencies":{"@types/jest":"~20.0.2","@types/node":"~8.0.9","del-cli":"~1.1.0","husky":"~0.14.3","jest":"~20.0.4","lint-staged":"~4.0.1","prettier":"~1.5.2","rmfr":"~1.0.3","ts-jest":"~20.0.7","typescript":"~2.4.1"},"lint-staged":{"src/**/*.ts":["prettier --single-quote --write","git add"]},"bugs":{"url":"https://github.com/dschau/create-gatsby-blog-post/issues"},"homepage":"https://github.com/dschau/create-gatsby-blog-post#readme","_id":"@dschau/create-gatsby-blog-post@1.0.2","_shasum":"c90cf7c04df9b100711bd1521d94768f21d30840","_from":".","_npmVersion":"2.15.9","_nodeVersion":"7.10.0","_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"dist":{"shasum":"c90cf7c04df9b100711bd1521d94768f21d30840","tarball":"https://registry.npmjs.org/@dschau/create-gatsby-blog-post/-/create-gatsby-blog-post-1.0.2.tgz","integrity":"sha512-SW3bkvyj0tyco/owYWQRFdlEF3rQSoLFwO8JDlKDCciV3ckiXx6gPZkDA5SSc5crXJPTjCaVgLOW9t4FL7Axng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmSl6VG+y2eKPsvr99HoVafiL0v9oDUPkXFVc/YahnEQIgI9EX58MXkDKGMu8xW3Owzl7yHPEdvsL31OLL53fmYtI="}]},"maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-gatsby-blog-post-1.0.2.tgz_1500326059786_0.9590362298768014"}},"1.1.0":{"name":"@dschau/create-gatsby-blog-post","description":"A utility to create a gatsby blog post","version":"1.1.0","main":"index.js","repository":{"type":"git","url":"git+https://github.com/dschau/create-gatsby-blog-post.git"},"license":"MIT","bin":{"create-post":"cli.js"},"scripts":{"precommit":"lint-staged","prebuild":"del-cli \"dist/**/*\"","build":"tsc","build:publish":"npm run build && cd dist && npm run copy && npm publish --access public","build:link":"npm run build && cd dist && npm run copy && npm link","postbuild:link":"cd ../","copy":"cp ./package.json dist/package.json & cp ./.gitignore dist/.gitignore & cp ./README.md dist/README.md","postbuild:publish":"cd ../","prettier":"prettier --single-quote --write \"src/**/*.ts\"","test":"jest","test:watch":"npm run test -- --watch"},"dependencies":{"date-fns":"~1.28.5","globby":"~6.1.0","gray-matter":"~3.0.2","lodash.capitalize":"~4.2.1","lodash.kebabcase":"~4.1.1","mz":"~2.6.0","mz-modules":"~1.0.0","yargs":"~8.0.2"},"devDependencies":{"@types/jest":"~20.0.2","@types/node":"~8.0.9","del-cli":"~1.1.0","husky":"~0.14.3","jest":"~20.0.4","lint-staged":"~4.0.1","prettier":"~1.5.2","rmfr":"~1.0.3","ts-jest":"~20.0.7","typescript":"~2.4.1"},"lint-staged":{"src/**/*.ts":["prettier --single-quote --write","git add"]},"bugs":{"url":"https://github.com/dschau/create-gatsby-blog-post/issues"},"homepage":"https://github.com/dschau/create-gatsby-blog-post#readme","_id":"@dschau/create-gatsby-blog-post@1.1.0","_shasum":"070f14e77d6b1233d1b3c4f7cdf20a74c77e77d9","_from":".","_npmVersion":"2.15.9","_nodeVersion":"7.10.0","_npmUser":{"name":"dschau","email":"dustinschau@gmail.com"},"dist":{"shasum":"070f14e77d6b1233d1b3c4f7cdf20a74c77e77d9","tarball":"https://registry.npmjs.org/@dschau/create-gatsby-blog-post/-/create-gatsby-blog-post-1.1.0.tgz","integrity":"sha512-s9I20JB/WOXE+/NcNdkPFB0TUhF0u9QUelTGYDpLed5ddyQ1Uufg9qCmYuQfxKuaOyJjI8CjJ4n0u56UqI/FtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHAUqabWbtfqo9wqR2zmDDCBmZJQjtOlMBPFfc37mOx7AiEAk/4nYf1JUnFq9YfkJjSWm3BBdGxxjjZsG6sif4NrsHw="}]},"maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-gatsby-blog-post-1.1.0.tgz_1500415410379_0.6101714998949319"}}},"readme":"# `create-gatsby-blog-post`\n\n[![Build Status](https://travis-ci.org/DSchau/create-gatsby-blog-post.svg?branch=master)](https://travis-ci.org/DSchau/create-gatsby-blog-post)\n\nA utility and CLI to scaffold out a blog post that follows the gatsby `pages/` format, including a MD file with some default frontmatter (data) set up.\n\n## Set up\n\n`yarn add @dschau/create-gatsby-blog-post --dev`\n\nor for global usage\n\n`yarn global add @dschau/create-gatsby-blog-post`\n\n## Usage\n\n### `createPost(post: string, [options])`\n\n```javascript\nconst { createPost } = require('create-gatsby-blog-post');\n\ncreatePost('hello-world'); // will create the folder `src/pages/YYYY-MM-DD-hello-world` with `index.md` inside\n```\n\n#### Options\n\n|Name|Description|Default|\n|:--:|-----------|:-----:|\n|`date`|Pass in a custom date object to use as the \"now\" value|`+new Date()`|\n|`dateFormat`|Format the date according to a [date-fns format string](https://date-fns.org/docs/format)|`YYYY-MM-DD`|\n|`root`|Root directory to use to place the blog post/markdown file|`src/pages`|\n|`tags`|Whether to place frontmatter \"tags\" key in each post|`true`|\n\n### CLI\n\n```bash\ncreate-post -- --date-format \"YYYY-MMM-DD\" hello-world\n```\n","maintainers":[{"name":"dschau","email":"dustinschau@gmail.com"}],"time":{"modified":"2022-06-12T17:22:06.420Z","created":"2017-07-17T20:41:49.109Z","1.0.0-rc.0":"2017-07-17T20:41:49.109Z","1.0.0-rc.1":"2017-07-17T20:50:40.008Z","1.0.0":"2017-07-17T21:03:50.287Z","1.0.1":"2017-07-17T21:12:42.935Z","1.0.2":"2017-07-17T21:14:20.765Z","1.1.0":"2017-07-18T22:03:31.328Z"},"homepage":"https://github.com/dschau/create-gatsby-blog-post#readme","repository":{"type":"git","url":"git+https://github.com/dschau/create-gatsby-blog-post.git"},"bugs":{"url":"https://github.com/dschau/create-gatsby-blog-post/issues"},"license":"MIT","readmeFilename":"README.md"}