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

cra-template-ornio

v1.0.0

Published

A quick start Create React App template with React Router, GraphQL, TypeScript, Tailwind CSS, Husky and custom ESlint configurations

Downloads

1

Readme

Ornio Create React App template

current version: V1.0.0

This template provides Ornio AS structure, styles and common tool to get the project up and running.

To use this template within your project, add --template ornio when creating a new app.

How to use

For example run:

npx create-react-app my-app --template ornio

or

yarn create-react-app my-app --template ornio

or from github repo

npx create-react-app my-app --template=git+https://github.com/ornio-no/cra-template-ornio.git

Tools

  1. Typescript
  2. ESLint
  3. Prettier
  4. Husky
  5. TailwindCSS
  6. Clsx
  7. Joi
  8. Craco
  9. Dayjs
  10. GraphQL
  11. GraphQL-Codegen
  12. Apollo
  13. Loadable Components
  14. React Helmet
  15. i18n
  16. React Router

Structure

This template is structured based on atomic design patterns

Learn more

  • :file_folder: components
    • :file_folder: atoms
    • :file_folder: molecules
    • :file_folder: organisms
    • :file_folder: templates
  • :file_folder: config
  • :file_folder: enums
  • :file_folder: graphql
    • :file_folder: client
    • :file_folder: fragments
    • :file_folder: gen
    • :file_folder: hooks
    • :file_folder: mutation
    • :file_folder: query
    • :file_folder: subscription
  • :file_folder: hooks
  • :file_folder: interfaces
    • :file_folder: models
    • :file_folder: types
  • :file_folder: pages
  • :file_folder: routes
  • :file_folder: styles
    • :file_folder: base
    • :file_folder: vendor
  • :file_folder: utils
  • :file_folder: validatiors

Uninstall tailwind (guide)

  1. delete tailwind.config.js
  2. remove /styles/vendor/tailwincss/tailwind.css import in /styles/main.scss
  3. delete /styles/vendor/tailwindcss
  4. remove tailwind plugin from .eslintrc (under extends "plugin:tailwind/recommended")
  5. uninstall following packages by running npm uninstall tailwindcss@npm:@tailwindcss/postcss7-compat postcss autoprefixer

Getting Started with Create React App

This project was bootstrapped with Ornio Create React App Template.

Available Scripts

start

Starts development server

build

Builds production version of the App

test

Runs tests

eject

Should not be used

format

Runs prettier format

type:check

Does typescript type checking

lint

Lints all files in src folder

analyze

Generates report for app and all its dependencies.

codegen

Runs graphQL codegen