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 install
Install dependencies with npm:
$ npm install
Start the development server:
$ npm run dev
Prettier 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 lint
After 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 release
The production-optimized static site can be built by running:
$ npm run build
This creates a dist
directory with the files.