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-stereobase

v4.2.4

Published

Generate a simple template based on 7-1 architecture, with the opportunity to use Twig and GSAP.

Downloads

119

Readme

Logo

generator-stereobase NPM version

Generate a simple project (static or WordPress)

Installation

First if you don't have the rights on your /usr/local folder:

sudo chown -R $USER /usr/local

If you're on High Sierra use instead:

sudo chown -R $(whoami)

Then, install Yeoman and generator-stereobase using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-stereobase

Then, you need to create a new host in Mamp called yourProjectName.local, and start the servers.

After that you can generate your project:

yo stereobase

And finally launch the dev server:

npm run dev

When you need to build use:

npm run build

You'll have your files in the dest directory.

WordPress project installation

If you need to install a WordPress project, follow these steps before launching Yeoman.

Install wp-cli if you don't have it already (https://make.wordpress.org/cli/handbook/installing/):

curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp

You can now launch Yeoman, and answer Y to the WordPress question. You need to have mysql server started to allow Yeoman to automatically create the database!

Finally, install TGMPA to manage plugins: http://tgmpluginactivation.com/installation/ : once you've downloaded the file, place it in a directory called "mu-plugins" in /wp-content, and decomment the code to handle plugins regsitration in functions.php.

Change configstore files owner

sudo chown -R userMachine /Users/userMachine/.config/configstore/

Installation of an existing WordPress project

First you need to install wp-cli as above.

After that, you can install npm modules:

cd project-name
npm i

Then you need to install the WordPress:

wp core download --locale=en_US
wp db create
wp core install --url=localhost --title=Stereosuper --admin_user=adminStereo --admin_password=azerty [email protected]

Finally, launch the server:

npm run dev

You also probably will need to connect to the admin, and install required plugins. If TGMPA was installed, go directly to Appearance > Install plugins.

Thanks

License

MIT © Adrien Le Menthéour | Elisabeth Hamel | Clément Lemoine | Alban Mezino