Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@bradp/pears
Advanced tools
A starter kit for building static sites quickly, easily, and efficiently.
View live demo →
:warning: Currently, Pears is in an early state of development. Things may break & change.
🚧 Hugo - The fastest framework for building static sites
🎨 TailwindCSS, Tailwind Forms, and Tailwind Typography Utility-first CSS framework to build your site without ever having to leave your HTML.
🔧️ PostCSS, autoprefixer, and PurgeCSS Trim your CSS files (including Tailwind's) to be only the classes and rules you actually use in your markup.
🌈️ Prettier and stylelint Write better code without having to think about formatting.
🔍️ ESLint Never run into JS errors again.
Getting set up for using this project requires install a few different things. Don't worry, it's easy.
You will need to install Hugo if you don't already have it. There are pre-built binary files available for almost every platform.
Most of the included scripts and commands present are reliant on Yarn. If you haven't used it, but are familiar with npm, it's the exact same experience with a few minor details. Again, there are plenty of ways to install Yarn on the platform of your choice.
Once you have Yarn and Hugo installed on your system, all you need to do is grab a copy of Pears and install the dependencies.
git clone https://github.com/bradp/pears <your-new-site-name>
cd <your-new-site-name>
yarn
yarn start
yarn run
Command | Action |
---|---|
yarn start | Builds all files & starts up the development server |
yarn build | Builds all files for a local or staging environment |
yarn build:prod | Builds all files for a deployment to a production server |
yarn lint | Check your CSS & JS files for errors Append :fix to automatically fix |
yarn format | Fix formatting errors automatically |
Command | Action |
---|---|
yarn lint:css | Lint CSS files Append :fix to automatically fix |
yarn lint:js | Lint JS files. Append :fix to automatically fix |
yarn format:check | Check formatting errors without automatically fixing |
Remember, you can always check yarn run
to see full list of commands!
See the open issues for a list of proposed features (and known issues).
Distributed under the MIT License. See LICENSE
for more information.
FAQs
A starting point for a Hugo + TailwindCSS powered static site.
The npm package @bradp/pears receives a total of 2 weekly downloads. As such, @bradp/pears popularity was classified as not popular.
We found that @bradp/pears demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.