npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ongov/ontario-frontend-cli

v1.0.1

Published

The `ontario-frontend-cli` package is part of the Ontario.ca Frontend monorepo. It is a command line tool designed to streamline the creation and development of Ontario.ca Frontend applications and projects. It provides a simple interface to scaffold new

Downloads

81

Readme

@ongov/ontario-frontend-cli

The ontario-frontend-cli package is part of the Ontario.ca Frontend monorepo. It is a command line tool designed to streamline the creation and development of Ontario.ca Frontend applications and projects. It provides a simple interface to scaffold new projects, configure them with essential dependencies, and prepare them for development using Ontario.ca Frontend.

Features

  • Scaffold new Ontario.ca Frontend projects with pre-configured templates.
  • Configure projects with Eleventy, Nunjucks, and other essential tools.
  • Support for creating bilingual (English and French) project structures.
  • Easy integration with the Ontario.ca Frontend core dependency.

Installation

Using npm

To install the Ontario.ca Frontend CLI globally via npm:

npm install -g @ongov/ontario-frontend-cli

Using pnpm

To install the Ontario.ca Frontend CLI globally via pnpm:

pnpm add -g @ongov/ontario-frontend-cli

Running directly with npx

If you'd rather not install the CLI tool globally, you can run it directly with npx:

npx @ongov/ontario-frontend-cli create-ontario-app

This method is useful for a one-off execution where you don't need to (or don't want to) keep the CLI tool installed globally on your system.

Usage

Once installed, you can create a new project by running:

create-ontario-app

Follow the interactive prompts to configure your project's settings, such as project name and paths.

Options

  • --local: Use a local version of the Ontario.ca Frontend core dependency. This is useful for development or testing against a local copy of the framework.

Example:

create-ontario-app --local

This command initializes a new project and links it to a local version of the Ontario.ca Frontend framework.

Documentation

Explore the documentation to learn about every aspect of the toolkit--from installation and file structure to adding analytics and preparing for deployment. The documentation is available at developer.ontario.ca.

Contributing

Contributions to the Ontario.ca Frontend are welcome. Whether it's bug reports, feature requests, or contributions to code, we appreciate your input.

Check out our CONTRIBUTING.md file for guidelines on how to contribute.

License

This project is licensed under the Open Government Licence - Ontario. Feel free to use, modify, and distribute it as needed.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.