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

@ladydinde/dindodev

v1.4.1

Published

Ladydinde's tasks manager for front-end development in Drupal 8.

Downloads

4

Readme

DindoDev

Ladydinde's tasks manager for front-end development in Drupal 8.

Introduction

This has been conceived in the aim of beeing used in a Drupal 8 environment. The purpose of this tool is mainly to compile SCSS and transpile ESNext.

Installation

# install dependency
npm i -D @ladydinde/dindodev
# init the tool with your project
npx dindodev init

Commands

Project

DindoDev exposes two main commands: dev and build. The first one is intended to be use to develop in local, the second one to build for production. Easy pizzy!

Add those scripts to your package.json to being able to run DindoDev.

"scripts": {
  "dev": "dindodev dev",
  "build": "dindodev build"
}

Now you can run npm run dev or npm run build to make a good meal.

Component

DindoDev exposes a second type of command that allows you to easily create a Drupal front-end component. It's composed of a set of files that split your project into small bricks of code.

You can call it using npx dindodev cpt (available alias component) or adding a new script to your package.json.

"scripts": {
  "dev": "dindodev dev",
  "build": "dindodev build",
  "cpt": "dindodev cpt"
}

Variables

The tool is based on Drupal 8 structure and to be able to work, it needs environment variables that define the themes that should be used.

# `.env` file
THEMES=my_theme,my_second_theme

Roadmap

  • [x] README docs
  • [x] use dotenv
  • [ ] compile modules
  • [x] autoprefixer
  • [ ] better scripts, libs and chunks handling
  • [ ] créer les styles et scripts de base
  • [ ] gulp-svgstore?
  • [ ] gulp-webp + images processing
  • [x] hygen templates
  • [ ] prompt questions for the start
  • [ ] files to copy
  • [ ] Drupal theme creation + files to create in themes
  • [ ] man dindodev or dindodev help command
  • [ ] display lines to copy in package.json
  • [ ] add some colors
  • [ ] npm-scripts
  • [ ] pre-commit (eslint? remove log?)

Contributing

Check the wiki dedicated to contribution.

Acknowledgements

Suriteka