![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@joinbox/build-task
Advanced tools
Re-usable esbuild/swc and Sass based build tasks for Joinbox Drupal projects
Build task for Joinbox' Drupal projects that provides command line actions running with reasonable defaults for JavaScripts and SASS.
Tasks include multiple options, the ability to emit notifications on success and source maps.
npm i -D @joinbox/build-task core-js regenerator-runtime
core-js
and regenerator-runtime
are required to inline the corresponding polyfills.
npx @joinbox/build-task styles -n -c -s src/scss -d dist/css -w "**/*.scss, other-path/*.scss" "**/*.scss"
Make sure to use quotation marks around paths if you use globs (in order for them to be resolved through JS instead of CLI)
To see all available options, call the styles build task with the help option (-h
or --help
):
npx @joinbox/build-task styles -h
npx @joinbox/build-task scripts -m -t es5 -e "ie 11" -s src/js -d dist/js -w "**/*.js, other-path/*.js" "**/*.js"
Make sure to use quotation marks around paths if you use globs (in order for them to be resolved through JS instead of CLI)
To see all available options, call the scripts build task with the help option (-h
or --help
):
npx @joinbox/build-task scripts -h
Use the following setup for Drupal projects:
npm i -D chokidar-cli npm-run-all @babel/eslint-parser @joinbox/eslint-config-joinbox eslint @joinbox/stylelint-config-joinbox stylelint
scripts
property to your package.json
:
"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",
"live:styles": "npx @joinbox/build-task styles -n -c -s src/scss -d dist/css main.scss",
"dev:scripts": "npm run lint:scripts ; npx @joinbox/build-task scripts -n -s src/js -d dist/js -w \"src/js/**/*.js, template-library/**/*.js\" main.js",
"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",
"watch:fonts": "npx chokidar \"src/webfonts/**/*.*\" -c \"npm run copy:fonts\"",
"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",
"dev": "npm-run-all clean -p copy:* dev:* watch:*",
"live": "npm-run-all clean -s copy:* live:*"
}
Use -s
option for live script because -p
brings down Cyon servers.If you update from earlier versions, make sure to
@babel/core
, browser-sync
, @babel/eslint-parser
, gulp
, postcss
)scripts
from package.jsongulpfile.js
@joinbox/build-task
to newest version and follow this README's instructionsFAQs
Re-usable esbuild/swc and Sass based build tasks for Joinbox Drupal projects
The npm package @joinbox/build-task receives a total of 31 weekly downloads. As such, @joinbox/build-task popularity was classified as not popular.
We found that @joinbox/build-task demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.