Problem/Motivation

Is this using the package.json file you shared with us a few years ago?

This is the version I've been using with a modded version of Basic for D9 and aside from not creating map.js, it's super light and fast.

#3337115-8: Basic 3.0 Roadmap

{
  "name": "basic",
  "version": "2.0.0",
  "description": "BASIC Theme Version 2",
  "license": "MIT",
  "scripts": {
    "sass": "node-sass --recursive --source-map true --output-style expanded --output css sass",
    "autoprefixer": "postcss --no-map -u autoprefixer --autoprefixer.browsers -r css/*/*.css",
    "build:css": "npm run sass && npm run autoprefixer",
    "build:images": "imagemin images/source/*.{png,jpg,gif,svg} -o images/optimized",
    "uglify:js": "uglifyjs js/source/*.js -m -c -o js/build/scripts.js",
    "watch:css": "onchange 'sass/**/*.scss' -- npm run build:css",
    "watch:img": "onchange 'images/source/*' -- npm run build:images",
    "watch:js": "onchange 'js/source/*.js' -- npm run uglify:js",
    "watch:all": "concurrently --kill-others 'npm run watch:css' 'npm run watch:js' 'npm run watch:img'"
  },
  "dependencies": {
    "bourbon": "^5.0.0-beta.8",
    "bourbon-neat": "^2.1.0",
    "autoprefixer": "^9.7.6",
    "concurrently": "^4.1.1",
    "node-sass": "^4.13.1",
    "uglify-js": "^3.9.1",
    "imagemin-cli": "^5.1.0",
    "onchange": "^6.0.0",
    "postcss-cli": "^6.1.3"
  },
  "browserslist": [
    "> 1%"
  ]
}

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork basic-3338111

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

joelpittet created an issue. See original summary.

joelpittet’s picture

Status: Active » Needs review
occupant’s picture

Status: Needs review » Reviewed & tested by the community

@joelpittet This looks fantastic! I've run through all the node commands and they are all doing exactly what I'd expect. Nice!

joelpittet’s picture

  • joelpittet committed c7e8f3ff on 3.x
    Issue #3338111 by joelpittet, occupant: Remove Gulp/Grunt and use NPM...
joelpittet’s picture

Status: Reviewed & tested by the community » Fixed

Thanks merged into dev

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.