{"_id":"@bradp/pears","_rev":"2-3ace1bf17b49110ccbc57ccc48f23a2f","name":"@bradp/pears","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"@bradp/pears","version":"0.2.0","description":"A starting point for a Hugo + TailwindCSS powered static site.","keywords":["hugo","tailwind","tailwindcss","postcss","purgecss","static-site","starter","boilerplate"],"homepage":"https://github.com/bradp/pears","bugs":{"url":"https://github.com/bradp/pears/issues"},"repository":{"type":"git","url":"git+https://github.com/bradp/pears.git"},"license":"MIT","author":{"name":"Brad Parbs","email":"brad@bradparbs.com","url":"https://bradparbs.com"},"scripts":{"build":"yarn run build:hugo","build:hugo":"yarn run clean && hugo --gc --environment development","build:hugo:prod":"yarn run clean && hugo --gc --minify --environment production","clean":"rimraf public","format":"yarn run prettier --write .","format:check":"yarn run prettier --check .","postinstall":"yarn run husky install &&w yarn run build:hugo","lint":"yarn run lint:css && yarn run lint:js","lint:css":"stylelint 'assets/css/*.css' --syntax css","lint:css:fix":"stylelint 'assets/css/*.css' --syntax css --fix","lint:fix":"yarn run lint:css:fix && yarn run lint:js:fix","lint:js":"eslint assets/js/*.js","lint:js:fix":"eslint assets/js/*.js --fix","start":"yarn run build:hugo && hugo server --buildDrafts"},"lint-staged":{"*.css":["stylelint"],"*.js":["eslint"],"*.{css,html,json,md,toml}":["prettier --write"]},"prettier":{"printWidth":120,"twUnknownClassesPosition":"end","useTabs":true,"overrides":[{"files":["*.html"],"options":{"parser":"go-template"}}]},"eslintConfig":{"env":{"browser":true,"es2021":true},"parserOptions":{"ecmaVersion":12,"sourceType":"module"},"extends":"eslint:recommended","rules":{}},"stylelint":{"extends":"stylelint-config-standard","rules":{"at-rule-no-unknown":null,"at-rule-no-vendor-prefix":true,"color-hex-length":"long","color-no-invalid-hex":true,"comment-no-empty":true,"declaration-no-important":true,"font-family-name-quotes":"always-where-required","font-family-no-duplicate-names":true,"font-family-no-missing-generic-family-keyword":true,"function-url-quotes":"always","function-url-scheme-allowed-list":["data","/^http/"],"indentation":"tab","media-feature-name-no-vendor-prefix":true,"no-invalid-double-slash-comments":true,"no-extra-semicolons":true,"property-no-vendor-prefix":true,"selector-no-vendor-prefix":true,"value-no-vendor-prefix":true,"declaration-empty-line-before":null,"declaration-colon-newline-after":null,"value-list-comma-newline-after":null},"ignoreFiles":["public/","assets/css/build.css"]},"dependencies":{"@babel/cli":"^7.12.10","@babel/core":"^7.12.10","@babel/preset-env":"^7.12.11","@tailwindcss/forms":"^0.2.1","@tailwindcss/typography":"^0.3.1","autoprefixer":"^10.1.0","cssnano":"^4.1.10","eslint":"^7.15.0","eslint-config-prettier":"^7.0.0","eslint-config-standard":"^16.0.2","husky":"^5.0.6","lint-staged":"^10.5.3","live-server":"^1.2.1","postcss":"^8.2.10","postcss-cli":"^8.3.1","postcss-import":"^14.0.0","postcss-purgecss":"^2.0.3","prettier":"2.2.1","prettier-plugin-go-template":"^0.0.10","prettier-plugin-packagejson":"^2.2.8","prettier-plugin-tailwind":"^2.2.8","prettier-plugin-toml":"0.3.1","rimraf":"^3.0.2","stylelint":"^13.8.0","stylelint-config-standard":"^20.0.0","tailwindcss":"^2.0.2"},"gitHead":"7f69c9b0b72d991da7812758bc8f4cde92eb76c6","_id":"@bradp/pears@0.2.0","_nodeVersion":"14.17.6","_npmVersion":"7.22.0","dist":{"integrity":"sha512-51t9vRNU0KJVvxrvYhraoHsz45+gEFxIiXuvX4zX+G26Y+/1MXtfv0DWzjG5DsnCkL0foG6vMMyGahGoCa8B3A==","shasum":"44dd48cbaf3a60c7d2ad3bae032ce37a3dc46415","tarball":"https://registry.npmjs.org/@bradp/pears/-/pears-0.2.0.tgz","fileCount":58,"unpackedSize":2765087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzZtDCRA9TVsSAnZWagAAl64P/jNWoZABCzLBmrjqGWqL\n5vP1n1nx99u6F24Ot6oV/wzBpXFAzA2bhNfm19tibDc1tIZzImhB02kYX9cr\ndhoIP0nXBVHkisugT5pFzCeTCuS5BCZEjwLs11g5AM+AZuCYAfUMF//5/MaX\nmTgxlFVpW29QJzEzg5wvWf/vltuxZcsProx5LVOhQJnHf3uBCWRhXIgJV4Pv\nnmAKXGH+Dh9OQZyHuYhKyHp6vPJW7/bX+M9nmtK5krbLNaQjQELI3SrPvxLH\n/eJUCTnPHpiPAUghkqWddTcWABxz4CMCoZwnlLhUCjwjsGF1TAmIiejJULr9\no/DIHhUUpTvOUzk3X7AkVZD75noyZJWxVkvUCLidmljOitN9y2slHodSOn2R\nHLRuq96wNREOhN9x6BHcF1/EUhTwficw9X/8bhL1wpoDpVRvmRwgh43yh6SC\n5YhSAqV+CmovDIwCOfYpaSXYygtKruLNiEl8TtBuVT17SGvl9Ov8Hux9L1mG\njx7JSvXvWd0U4+2KJeuvlv6iQIefbjXpl39PxSbaaBRMuQEytgW0t3qw6wYY\nvVN7R5Y8vDEeVzWoCPIkcD8qt/dlIlaGeCUKEGnqnQNOai7V+uZCVHLhI4Jg\nXprIaq4OcTFm1+OaPHRYIWTBgjOYy6fh9atZhznP1LPS81jlr8mwzAfdoVAz\nHRr1\r\n=obQ/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC365WL0r2ORfqrDvfj8nh2JGZk3VE5Hz8ZYO05lpc6+AiEA8k+zivfbxecXdZ2D/U8o+x01FKMgHFp1QHAez2S5w9M="}]},"_npmUser":{"name":"bradp","email":"brad@bradparbs.com"},"directories":{},"maintainers":[{"name":"bradp","email":"brad@bradparbs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pears_0.2.0_1632958071659_0.5870087101093484"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-29T23:27:51.599Z","0.2.0":"2021-09-29T23:27:51.930Z","modified":"2022-04-04T20:20:16.239Z"},"maintainers":[{"name":"bradp","email":"brad@bradparbs.com"}],"description":"A starting point for a Hugo + TailwindCSS powered static site.","homepage":"https://github.com/bradp/pears","keywords":["hugo","tailwind","tailwindcss","postcss","purgecss","static-site","starter","boilerplate"],"repository":{"type":"git","url":"git+https://github.com/bradp/pears.git"},"author":{"name":"Brad Parbs","email":"brad@bradparbs.com","url":"https://bradparbs.com"},"bugs":{"url":"https://github.com/bradp/pears/issues"},"license":"MIT","readme":"# 🍐️&nbsp;&nbsp;Pears - A Static Site Starter Kit\n\n<p align=\"center\">\n  <img src=\"https://brrad.com/readme/pears.jpg\" height=\"300\" alt=\"illustration of pears\"><br>\n    <br>\n    <strong>A starter kit for building static sites quickly, easily, and efficiently.</strong>\n  <br>\n  \t<br>\n    <img src=\"https://img.shields.io/github/workflow/status/bradp/pears/Hugo%20Build?style=flat-square\" alt=\"Build Status\">\n    <a href=\"https://www.github.com/bradp/pears/releases/\"><img src=\"https://img.shields.io/github/v/release/bradp/pears?style=flat-square\" alt=\"Latest Release\"></a>\n      <img src=\"https://img.shields.io/github/last-commit/bradp/pears?style=flat-square\" alt=\"Last commit\">\n    <br>\n    <br>\n    <a href=\"https://app.netlify.com/start/deploy?repository=https://github.com/bradp/pears\">\n      <img src=\"https://www.netlify.com/img/deploy/button.svg\" alt=\"Deploy to Netlify\">\n    </a>\n    <br>\n    <br>\n      <a href=\"https://pears.cloud/\">View live demo →</a>\n    <br>\n    <br>\n      :warning: Currently, Pears is in an <strong>early</strong> state of development. Things may break & change.\n</p>\n\n\n## 🏆 Goals\n\n- Super simple to use and develop with. No messing with settings and configurations.\n- Easy to use for those who are not familiar with Hugo. They shouldn't have to learn more than the basics.\n- Powered by tools that are focused on a quick and efficient development cycle.\n- Pre-packed with shortcodes & partials for a ton of different components.\n\n## 🎉️ What's included?\n\n  🚧&nbsp;&nbsp; **[Hugo](https://gohugo.io)** - The fastest framework for building static sites\n\n  🎨&nbsp;&nbsp; **[TailwindCSS](https://tailwind.css)**, **[Tailwind Forms](https://github.com/tailwindlabs/tailwindcss-forms)**, and **[Tailwind Typography](https://github.com/tailwindlabs/tailwindcss-typography)** Utility-first CSS framework to build your site without ever having to leave your HTML.\n\n  🔧️&nbsp;&nbsp; **[PostCSS](https://github.com/postcss/postcss)**, **[autoprefixer](https://github.com/postcss/autoprefixer)**, and **[PurgeCSS](https://github.com/FullHuman/purgecss)** Trim your CSS files (including Tailwind's) to be _only_ the classes and rules you actually use in your markup.\n\n  🌈️ &nbsp;&nbsp;**[Prettier](https://github.com/prettier/prettier)** and **[stylelint](https://github.com/stylelint/stylelint)** Write better code without having to think about formatting.\n\n  🔍️ &nbsp;&nbsp;**[ESLint](https://eslint.org)** Never run into JS errors again.\n\n\n## 🚀️ Getting Started\n\nGetting set up for using this project requires install a few different things. Don't worry, it's easy.\n\n### Requirements\n\nYou will need to [install Hugo](https://gohugo.io/getting-started/installing/) if you don't already have it. There are [pre-built binary files](https://github.com/gohugoio/hugo/releases) available for almost every platform.\n\nMost of the included scripts and commands present are reliant on [Yarn](https://classic.yarnpkg.com/en/). If you haven't used it, but are familiar with [npm](https://www.npmjs.com/), it's the exact same experience with a few minor details. Again, there are plenty of ways to [install Yarn](https://classic.yarnpkg.com/en/docs/install/) on the platform of your choice.\n\n### Installing\n\nOnce you have Yarn and Hugo installed on your system, all you need to do is grab a copy of Pears and install the dependencies.\n\n```\ngit clone https://github.com/bradp/pears <your-new-site-name>\ncd <your-new-site-name>\nyarn\n```\n\n## ⚡️ Usage\n\n - To start up your local development environment: `yarn start`\n - To see a full list of available commands: `yarn run`\n\n#### Main Commands\nCommand | Action\n:- | :-\n`yarn start` | Builds all files & starts up the development server\n`yarn build` | Builds all files for a local or staging environment\n`yarn build:prod` | Builds all files for a deployment to a production server\n`yarn lint` | Check your CSS & JS files for errors Append `:fix` to automatically fix\n`yarn format` | Fix formatting errors automatically\n\n#### Building & Linting\nCommand | Action\n:- | :-\n`yarn lint:css` | Lint CSS files Append `:fix` to automatically fix\n`yarn lint:js` | Lint JS files. Append `:fix` to automatically fix\n`yarn format:check` | Check formatting errors without automatically fixing\n\n<small>Remember, you can always check <code>yarn run</code> to see  full list of commands!</small>\n\n\n## 🔮️ Roadmap\n\nSee the [open issues](https://github.com/bradp/starter/issues) for a list of proposed features (and known issues).\n\n## 📕️ License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n","readmeFilename":"README.md"}