The website at https://www.piratepx.com. Built with 11ty and Tailwind CSS.
piratepx is a simple, privacy-respecting, no cookie, zero JavaScript, 37 byte counter pixel for websites, mobile apps, server-side APIs, CLIs, and just about anywhere else.
Sign up for free at https://www.piratepx.com!
The following includes the necessary steps to get setup for development. For 11ty-specific details, see their docs.
The only prerequisite is a compatible version of Node.js
(see engines.node in package.json).
nvm is the recommended installation method:
$ nvm installInstall dependencies with npm:
$ npm installStart the development server:
$ npm run devPrettier is setup to enforce a consistent code style. It's highly recommended to add an integration to your editor that automatically formats on save.
To run via the command line:
$ npm run lintAfter development is done in the development branch and is ready for release,
it should be merged into the master branch, where the latest release code
lives. Release It! is then used to
interactively orchestrate the release process:
$ npm run releaseThe production-optimized static site can be built by running:
$ npm run buildThis creates a dist directory with the files.