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

guardian-mobile-apps-article-templates

v1.0.5

Published

Templates for articles on both iOS and Android next-gen apps

Downloads

4

Readme

Article Templates for Mobile Apps

cicle ci badge

Article templates used within the Guardian’s next-generation iOS, Android and Windows applications. This repo also contains documentation that describes the components and layouts used across these templates.

Requirements

  • A Mac or Linux computer.
  • brew as a package manager.
  • NVM.
  • NodeJS. Install using nvm: nvm install v6.9.2. Remember to add nvm use v6.9.2 to your preferred shell startup file.
  • Yarn. Yarn is a package manager. Install using brew install yarn.
  • It is recommended you restart your shell to ensure changes added the startup file are applied.

Developing

  • checkout the project in a separate directory, outside the iOS and the Android app.
  • copy config.sample.js to config.js and fill in the details
    • base.android is the 'ArticleTemplate' path within the Android app, eg: /Users/sandropaganotti/Projects/android-news-app/android-news-app/src/main/assets/templates/
    • base.ios is the 'ArticleTemplate' path within the iOS app, eg: /Users/sandropaganotti/Projects/ios-live/mobile-apps-article-templates/ArticleTemplates/
    • base.html is the path where this repository has been checked out, eg: /Users/sandropaganotti/Projects/mobile-apps-article-templates/
  • run yarn to install dependencies.
  • run yarn setup to locally ignore build files so they are not checked into master

IOS and Android devs

If you are developing against a branch which is not release, please follow the steps below:

  • Pull down the branch which you are developing against
  • Please follow the requirements and developing steps
  • run yarn sync which will build the project, and move the build into the individual Android and IOS projects

Yarn scripts

Yarn will provide the following services:

  • yarn test runs the JS unit tests from the test/spec/unit/ directory
  • yarn validate runs sasslint checks on SCSS and jshint checks on JS
  • yarn build builds JS/CSS assets, used on CI environment for building assets
  • yarn develop builds JS/CSS assets and watches for changes to JS/CSS. If changes then rebuilds and copies assets to iOS/Android to the iOS and Android projects as specified in config.js

deploying

How to deploy