@joinbox/build-task
Advanced tools
Comparing version 3.1.1 to 3.2.0
{ | ||
"name": "@joinbox/build-task", | ||
"version": "3.1.1", | ||
"version": "3.2.0", | ||
"description": "Re-usable esbuild/swc and Sass based build tasks for Joinbox Drupal projects", | ||
@@ -5,0 +5,0 @@ "bin": "./src/cli.mjs", |
@@ -82,3 +82,3 @@ # Intro | ||
``` | ||
scripts: { | ||
"scripts": { | ||
"dev:styles": "npm run lint:styles ; npx @joinbox/build-task styles -n -s src/scss -d dist/css -w \"src/scss/**/*.scss, template-library/**/*.scss\" main.scss", | ||
@@ -88,9 +88,9 @@ "live:styles": "npx @joinbox/build-task styles -n -c -s src/scss -d dist/css main.scss", | ||
"live:scripts": "npx @joinbox/build-task scripts -n -m -s src/js -d dist/js main.js", | ||
"copy:fonts": "mkdir -p dist/webfonts && cp -r src/webfonts dist/webfonts", | ||
"copy:fonts": "mkdir -p dist/webfonts && cp -r src/webfonts dist", | ||
"watch:fonts": "npx chokidar \"src/webfonts/**/*.*\" -c \"npm run copy:fonts\"", | ||
"copy:media": "mkdir -p dist/media && cp -r src/media dist/media", | ||
"copy:media": "mkdir -p dist/media && cp -r src/media dist", | ||
"watch:media": "npx chokidar \"src/media/**/*.*\" -c \"npm run copy:media\"", | ||
"clean": "(rm -r dist || true)", | ||
"lint:styles": "npx stylelint src/**/*.scss template-library/**/*.scss --config .stylelintrc", | ||
"lint:scripts": "npx eslint src/**/*.js template-library/**/*.js -c node_modules/@joinbox/eslint-config-joinbox/index.js", | ||
"lint:styles": "npx stylelint \"src/**/*.scss\" \"template-library/**/*.scss\" --config .stylelintrc", | ||
"lint:scripts": "npx eslint \"src/**/*.js\" \"template-library/**/*.js\" -c node_modules/@joinbox/eslint-config-joinbox/index.js", | ||
"dev": "npm-run-all clean -p copy:* dev:* watch:*", | ||
@@ -97,0 +97,0 @@ "live": "npm-run-all clean -p copy:* live:*" |
@@ -8,1 +8,2 @@ import include from './include.mjs'; | ||
console.log(privateProp.getPrivateField()); | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
31837
23
602