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-xes-bdf

v0.10.2

Published

Generating projects that use xes-webpack-core as base library for application configuration.

Downloads

79

Readme

generator-xes-bdf NPM version Build Status Dependency Status Coverage percentage

Generating projects that use xes-webpack-core as base library for application configuration.

About application template

This generator allows you to fast create multi application project. Each application can be individually setup to use features like:

Features:

Preloader template

It will track loading of lazy loaded modules in application booting phase:

preloader

React layout

Where you can setup if you want use just entry component with basic routing or some more advanced view with configuration screen template configuration

Canvas/WebGL libraries

You will get basic configuration for phaser, pixi js or both libraries at once.

Theming

If you choose to use react with basic layout you will get templating modules and configuration panel to choose current theme for user.

Audio

This generator comes with quite powerful library for handling soundtrack. It will allow you to change soundtrack based on user actions check source code in this project for more details how to achieve that. Also you will get basic sound configuration panel connected to data store.

Translations

You will be able to extract translations with xi18n scripts into POEditor files where you will be able to translate any string of your application.

Unit test

You can write unit tests for your code inside spec files. Templates adds basic configuration jasmine and karma.

Environmental configuration

You can use cascading set of environmental configuration files default.env > appname.env > appname.environmentname.env. Variables will be available inside code via process.env.VARIABLE_NAME.

Extensible

This project uses [typescript], webpack with babel and inversify for handling most of code core functionalities. Templates mostly rely on react and jss mostly material-ui but can be replaced with any other templating and styling solution.

It's designed with modularity in mind choose your own solutions if you don't like whats is provided for you.

Most of core functionality is comming from xes-webpack-core and template originated when I was polishing my ludumdare-43 project. But you can add your own configuration in provided webpack configuration files.

How to start

Installation

First, install Yeoman and generator-xes-bdf using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-xes-bdf

Generating

Then generate your new project:

yo xes-bdf

This will create source code with libraries that you can modify as you wish. And it will also install all base dependencies including xes-webpack-core which is handling most of webpack configuration.

Then you will run

yo xes-bdf:add-app

This will create one of multiple applications that can be run under your project. Here you will be able to choose which templates and libraries for specific application you need.

Examples

I am using this generator for fast prototyping games. You can see the one on which this generator orginated source project for generator templates

License

ISC © Paweł Kapalla