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

generator-orcaguife

v0.1.12

Published

For setting up **Orca UI FE** project quickly. For others projects, you can also use it if like.

Downloads

6

Readme

Orca UI FE yeoman generator

For setting up Orca UI FE project quickly. For others projects, you can also use it if like.

Encapsulated from create-react-app with a lot of custom modifications.

Usage:

  1. Install yeoman:

    $ npm i yeoman -g
  2. Use this generator:

    $ mkdir yourApp
    $ cd yourApp
    $ npm i generator-orcaguife -g
    $ yo orcaguife
  3. How to modify this generator with your custom functionality and templates:

    1. Clone or download and unzip this project, and then modify it as you want, but remember to follow the yeoman-generator rules.
    2. Publish the modified copy as a new yeoman-generator node module to NPM platform with your own unique module name. Notice: Make sure that your NPM's registry is "https://registry.npmjs.org".
    3. If you just wanna keep the modified copy in your PC, just run $ npm link under the root folder of it.
    4. Run the shell commands of previous step 2 .
  4. Wanna integrate generator into other GUI tools(not terminal like), check yeoman-environment.

  5. The main versions of dependencies of this ancient CRA we use:

    webpack 3.8.1

    webpack-dev-server 2.9.4

    babel-core 6.26.0

    react 16.2.0 Significant changes since version 16.3.

    redux 3.7.2

    react-redux 5.0.5

    react-router 4.2.0 A truly dynamic, component-based router.

    antd 3.12.4 Don't forget the 2018 Christmas Egg.

    We will do the upgrade if we have the time, or handle it by yourself :).

  6. The configurations and features we modified and introduced to the raw CRA for webpack and babel are as below:

    1. Introduce less-loader to handle less files.
    2. Introduce HappyPack to change the compiling ways of some types of files, and optimize compiling speed.
    3. Introduce reverse proxy server configuration when running dev environment, usage: $ npm run start -- --rp http:// 192.168.100.100. So do not need to set it pakage.json which way you will modify the code frequently.
    4. Introduce module import as required for antd, change some configurations in .babelrc.
    5. Introduce transform-decorators-legacy plugins in .babelrc for the decorator syntax for EcmaScript. If you upgrade your babel version to 7.X, there's another plugin instead.
    6. Introduce stage-2 preset in .babelrc for some new syntax of EcmaScript.
    7. Some other little changes, etc.