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

member-easy-mobile-v1

v3.53.0-alpha.1

Published

會員端簡易版APP-Mobile版 by react-boilerplate 3.7

Downloads

72

Readme

Member Easy App Mobile 網頁版

Features

Quick start

  1. Make sure that you have Node.js v8.10 and npm v5 or above installed.
  2. Clone this repo using git clone ssh://[email protected]:10022/yc-frontend/190101-game-lobby-v2.git
  3. Move to the appropriate directory: cd 190101-game-lobby-v2.
  4. Run yarn install in order to install dependencies and clean the git repo.
  5. Run cp .env.dev .env to development environment.
  6. At this point you can run yarn dev to see the example app at http://localhost:3000.
    But special case use yarn dev --port=80 at http://vv4a.test88b.net

Now you're ready to rumble!

Node Version Change

$ nvm use v8.16.2

if you not install nvm, please look https://medium.com/@imaginechiu/m1pro-arm-%E5%AE%89%E8%A3%9D-nvm-ac64f1f45a50

Environmental parameters

  • SITE_ENV: develop 開發, production 正式
  • SITE_CODE: 站台代號 (ref: src/config/site.js, ex: asiaInt)
  • ROUTE_PREFIX_PATH: 路由前輟 (ex: /ezapp-mobile)
  • STATIC_BASE_URL: 前端靜態資源路徑 (ex: /static)
  • UPLOAD_BASE_URL: 後端靜態資源路徑 (ex: /FileUpload)
  • PWA_ENABLE: 是否開啟PWA與Service Worker
  • TEST_SPEED_ENABLE: 是否登入後進行測速功能
  • PROXY_ENABLE: 是否開啟API接口代理
  • API_URL: API Base path

Config

in src/config/site.js

  • siteCode: 站台代號
  • siteName: Meta Title 前面的名稱
  • siteDesc: Meta Title 後面的說明
  • description: Meta Desc
  • country: 市場別 (malaysia|china|thailand)
  • defaultLang: 預設語系 (en-US|zh-CN|th-TH|id-ID)
  • blackLang: 語系白名單 ([en-US|zh-CN|th-TH|id-ID])
  • env: 環境參數 (sandbox|staging|production)
  • theme: 主題, 圖片相關設定

Documentation

Create the new Site

  • src/config/site.js add the config
  • in static/site/{NEW_SITE_CODE} add about image
  • production environmental in your nginx config add the setting
    location /ezapp-mobile {
         include /etc/nginx/conf.d/sites-module/proxy.conf;
         add_header Cache-Control "no-cache";
         
         rewrite ^/ezapp-mobile/(bundle|static|assets)/(.+)$ /$1/$2 break;
         rewrite ^/ezapp-mobile/(sw.js)$ /$1 break;
  
         # 愛博
         if ( $host ~ "^((.+).aibo.sumi86.site|aibo.sumi86.site)" ) {
            set $siteCode "aibo";
         }
  
         # 盛博
         if ( $host ~ "^((.+).asiaInt.sumi86.site|asiaInt.sumi86.site)" ) {
            set $siteCode "asiaInt";
         }
  
         # iBET
         if ( $host ~ "^((.+).ibet.sumi86.site|ibet.sumi86.site)" ) {
            set $siteCode "ibet";
         }

         proxy_set_header siteCode $siteCode;
         proxy_pass http://ezapp-mobile-v1;
    }
  • Create About PWA Favicon
# set your need create site in env => SITE_CODE, then run this
$ yarn build:favicons

# done your file in static/site/{NEW_SITE_CODE}/pwa
# please delete manifest.json, because it was produced at the time of release

after please remember to compress the picture

Good luck after you finish!

Create new game lobby

  • src/resources/themes/Images/GameLobby.js add the config

after please remember to compress the picture

Support Factory